Aktualizovat „du1/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-01 09:30:48 +00:00
parent badd6cd085
commit 9f1efda33e

View File

@ -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;
} }