Aktualizovat „du1/program.c“
This commit is contained in:
parent
badd6cd085
commit
9f1efda33e
@ -6,7 +6,8 @@ int main() {
|
|||||||
|
|
||||||
|
|
||||||
char word;
|
char word;
|
||||||
for (int count = 0; (word = getchar()) != EOF;) {
|
int count = 0
|
||||||
|
for (; (word = getchar()) != EOF;) {
|
||||||
if (word >= 'a'&&word <= 'z') {
|
if (word >= 'a'&&word <= 'z') {
|
||||||
word -= 32;
|
word -= 32;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user