prvy
This commit is contained in:
parent
dcba8699cc
commit
49fef5d369
@ -30,6 +30,11 @@ int main() {
|
||||
}
|
||||
if (line[0] == '+' || line[0] == '-' || line[0] == '*' || line[0] == '/') {
|
||||
input =+ 2;
|
||||
if (a == 1){
|
||||
printf("no enough operands");
|
||||
vys = 1;
|
||||
break;
|
||||
}
|
||||
if (line[0] == '+') {
|
||||
number[a - 2].cislo = number[a - 2].cislo + number[a - 1].cislo;
|
||||
a--;
|
||||
|
Loading…
Reference in New Issue
Block a user