質問編集履歴
1
コードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
改善点を教えていただけないでしょうか?
|
14
14
|
|
15
15
|
|
16
|
+
```c言語
|
16
17
|
#include<stdio.h>
|
17
18
|
#include<stdlib.h>
|
18
19
|
#include<string.h>
|
@@ -35,9 +36,11 @@
|
|
35
36
|
return d;
|
36
37
|
}
|
37
38
|
|
39
|
+
```
|
38
40
|
|
39
41
|
ちなみにmainプログラムは下記になります。
|
40
42
|
mainプログラムの修正はしてはいけないです。
|
43
|
+
```c言語
|
41
44
|
#include <stdio.h>
|
42
45
|
#include <stdlib.h>
|
43
46
|
#define SLEN 126
|
@@ -60,4 +63,5 @@
|
|
60
63
|
}
|
61
64
|
|
62
65
|
return 0;
|
63
|
-
}
|
66
|
+
}
|
67
|
+
```
|