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

回答編集履歴

1

誤字の修正

2019/01/23 10:46

投稿

bellsmarket
bellsmarket

スコア62

answer CHANGED
@@ -4,7 +4,8 @@
4
4
 
5
5
  **修正前ソースコード**
6
6
  ```c
7
+ include <stdio.h>
7
- include <stdlib.h>//1行目
8
+ include <stdlib.h>//2行目
8
9
  int cnt1; //36行目
9
10
  int i; //67行目
10
11
  int cnt2; //82行目
@@ -14,8 +15,8 @@
14
15
 
15
16
  **修正後のソースコード**
16
17
  ```c
17
- #include <stdio.h> //printf関数を使用している為読み込みが必要
18
+ #include <stdio.h> //1行目
18
- #include <stdlib.h> //1行目
19
+ #include <stdlib.h> //2行目
19
20
  int cnt1 = 0; //36行目
20
21
  int i = 0; //67行目
21
22
  int cnt2 = 0; //82行目