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