回答編集履歴
1
typo
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
{
|
8
8
|
|
9
|
-
int a,b,c,sum,averge;
|
9
|
+
int a,b,c,sum,average;
|
10
10
|
|
11
11
|
printf("国語、数学、英語の点数を入力\na=\nb=\nc=\n");
|
12
12
|
|
@@ -14,9 +14,9 @@
|
|
14
14
|
|
15
15
|
sum=a+b+c;
|
16
16
|
|
17
|
-
averge=sum/3;
|
17
|
+
average=sum/3;
|
18
18
|
|
19
|
-
printf("合計は%d平均値は %d", sum, averge);
|
19
|
+
printf("合計は%d平均値は %d", sum, average);
|
20
20
|
|
21
21
|
}
|
22
22
|
|