This commit is contained in:
Weber 2024-03-28 17:55:23 +00:00
parent bfe7cc8f88
commit 5a57e2edca

View File

@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#define MAX_LINE_LENGTH 100
@ -8,6 +9,11 @@ int main() {
char uloha[MAX_LINE_LENGTH];
while (fgets(uloha, MAX_LINE_LENGTH, stdin) != NULL) {
if (strlen(uloha) <= 1) {
printf("OK\n");
continue;
}
int cislo1, cislo2, vysledok_zadany;
char operacia;
@ -48,4 +54,4 @@ int main() {
}
return 0;
}
}