du3.6
This commit is contained in:
parent
f8b7fea5cc
commit
bc27ab8053
@ -28,8 +28,8 @@ int main(void) {
|
||||
ulozisko[top++] = cislo;
|
||||
}
|
||||
else if (strlen(vstup) == 1 && strchr("+-*/", vstup[0])) {
|
||||
if (top < 2) {
|
||||
printf("not enough values\n");
|
||||
if (top < 2){
|
||||
printf("not enough operands\n");
|
||||
return 0;
|
||||
}
|
||||
double b = ulozisko[--top];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user