refresh
This commit is contained in:
parent
413a53f2e3
commit
25cd35ef5c
Binary file not shown.
@ -5,10 +5,10 @@
|
||||
int main() {
|
||||
char input[100];
|
||||
|
||||
if (fgets(input, sizeof(input), stdin) != NULL && input[0] == '\n') {
|
||||
return 0;
|
||||
}
|
||||
|
||||
while (fgets(input, sizeof(input), stdin) != NULL) {
|
||||
if (input[0] == '\n') {
|
||||
break;
|
||||
}
|
||||
|
||||
double cislo1;
|
||||
double cislo2;
|
||||
@ -19,7 +19,7 @@ int main() {
|
||||
|
||||
if (colznakov != 5 || rovno != '=') {
|
||||
printf("CHYBA\n");
|
||||
return 0;
|
||||
continue;;
|
||||
}
|
||||
|
||||
double result2;
|
||||
@ -55,6 +55,7 @@ int main() {
|
||||
} else {
|
||||
printf("ZLE\n");
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
BIN
du3/program.exe
BIN
du3/program.exe
Binary file not shown.
Loading…
Reference in New Issue
Block a user