test
This commit is contained in:
parent
bfe7cc8f88
commit
5a57e2edca
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user