質問編集履歴
1
一部編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,28 +6,32 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
+
```ここに言語を入力
|
10
|
+
|
11
|
+
コード
|
12
|
+
|
13
|
+
```
|
14
|
+
|
9
15
|
#include <stdio.h>
|
10
16
|
|
11
17
|
|
12
18
|
|
13
|
-
int mai
|
19
|
+
int mani(){
|
14
20
|
|
15
|
-
|
21
|
+
char ch;
|
16
22
|
|
17
|
-
|
23
|
+
while((ch = getchar()) != EOF ){
|
18
24
|
|
19
|
-
|
25
|
+
if(ch >= 97 && ch <= 122){
|
20
26
|
|
21
|
-
|
27
|
+
printf("%c",ch-32);
|
22
28
|
|
23
|
-
|
29
|
+
}else if(ch >= 65 && ch <= 90){
|
24
30
|
|
25
|
-
|
31
|
+
printf("%c",ch+32);
|
26
32
|
|
27
|
-
|
33
|
+
}
|
28
34
|
|
29
|
-
printf("%c",ch);
|
30
|
-
|
31
|
-
|
35
|
+
}
|
32
36
|
|
33
37
|
}
|