質問するログイン新規登録

質問編集履歴

4

2021/11/02 02:32

投稿

aaaaabbbbb
aaaaabbbbb

スコア1

title CHANGED
File without changes
body CHANGED
@@ -31,6 +31,7 @@
31
31
  }else if(50>?){
32
32
  printf("B\n");
33
33
  }
34
+ }
34
35
  return 0;
35
36
  }
36
37
 

3

2021/11/02 02:32

投稿

aaaaabbbbb
aaaaabbbbb

スコア1

title CHANGED
File without changes
body CHANGED
@@ -30,6 +30,7 @@
30
30
  printf("A\n");
31
31
  }else if(50>?){
32
32
  printf("B\n");
33
+ }
33
34
  return 0;
34
35
  }
35
36
 

2

2021/11/02 02:30

投稿

aaaaabbbbb
aaaaabbbbb

スコア1

title CHANGED
File without changes
body CHANGED
@@ -12,12 +12,13 @@
12
12
  int score[30];
13
13
  int score_count;
14
14
  int score_point;
15
+ int i;
15
16
 
16
17
  score_count=0;
17
18
  while(1){
18
19
  scanf("%d",&score_point);
19
20
  if(score_point==0){
20
- berak;
21
+ break;
21
22
  }
22
23
  score[score_count]=score_point;
23
24
  score_count++;
@@ -28,7 +29,7 @@
28
29
  if (50<=?){
29
30
  printf("A\n");
30
31
  }else if(50>?){
31
- print("B\n");
32
+ printf("B\n");
32
33
  return 0;
33
34
  }
34
35
 

1

2021/11/02 01:13

投稿

aaaaabbbbb
aaaaabbbbb

スコア1

title CHANGED
File without changes
body CHANGED
@@ -16,7 +16,7 @@
16
16
  score_count=0;
17
17
  while(1){
18
18
  scanf("%d",&score_point);
19
- if(score_point=0){
19
+ if(score_point==0){
20
20
  berak;
21
21
  }
22
22
  score[score_count]=score_point;