druha verzia

This commit is contained in:
Oleksandr Hryshchenko 2021-02-23 17:21:00 +01:00
parent 105e80e1ed
commit 00b0a9aa2f

View File

@ -8,7 +8,7 @@ int main (){
fgets(c, 100, stdin);
musor = getchar();
while(fgets(c, 100, stdin) != NULL){
if(c[1] == '\n'){
if(strlen(c) == 1){
if (c[0] >= 'a' && c[0] <= 'z'){
putchar (c[0] - 'a' + 'A');
printf ("\n");