Update 'cv3/program.c'

This commit is contained in:
Anzhelika Nikolaieva 2023-10-10 18:07:15 +00:00
parent f09242c172
commit 15c24a4fca

View File

@ -77,8 +77,10 @@ int main() {
char input[20];
while (1) {
if (!fgets(input, sizeof(input), stdin)) {
//printf("no␣input");
char* a = fgets(input, sizeof(input), stdin);
if (a == NULL){
//if (!fgets(input, sizeof(input), stdin)) {
printf("no␣input\n");
break;
}