エディターを使う

Step1:
コンピュータリテラシーの教材などを復習し, emacsの使い方を思い出して下さい.
Step2:
練習のため,次のプログラムを入力して下さい. プログラム名を sum.cとして,セーブして下さい.

#include <stdio.h>
main()
{
  int a, b, sum;
  printf("Input the first data. ");
  scanf("%d", &a);
  printf("Input the second data. ");
  scanf("%d", &b);
  sum=a+b;
  printf("%d + %d = %d\n", a, b, sum);
}


index next