druha verzia

This commit is contained in:
Oleksandr Hryshchenko 2021-02-23 17:18:22 +01:00
parent 84795fbdb8
commit 105e80e1ed

View File

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