This commit is contained in:
Damián Korpesio 2021-10-20 11:29:36 +02:00
parent 9c4dcb0245
commit 55e06aa69c

View File

@ -21,11 +21,11 @@ int main() {
while (fgets(line, LINESIZE, stdin)) { while (fgets(line, LINESIZE, stdin)) {
velkost = strlen(line); velkost = strlen(line);
if (velkost == 1 && line[velkost - 1] == '\n') { if (velkost == 1 && line[velkost - 1] == '\n') {
break; break;
} }
if (input >= 10){ if (input >= 10){
printf("full stack\n");
vys = 1;
break; break;
} }
if (line[0] == '+' || line[0] == '-' || line[0] == '*' || line[0] == '/') { if (line[0] == '+' || line[0] == '-' || line[0] == '*' || line[0] == '/') {