test
This commit is contained in:
parent
cc6d8d6132
commit
e6f2ab769c
@ -142,12 +142,14 @@ int main() {
|
|||||||
if (a == 0) {
|
if (a == 0) {
|
||||||
printf("division by zero\n");
|
printf("division by zero\n");
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} if else {
|
||||||
vloz(&kalkulacka, b / a);
|
vloz(&kalkulacka, b / a);
|
||||||
zobraz_zasobnik(&kalkulacka);
|
zobraz_zasobnik(&kalkulacka);
|
||||||
}
|
}
|
||||||
default:
|
else{
|
||||||
printf("not enough operands\n");
|
printf("not enough operands\n");
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
printf("no input\n");
|
printf("no input\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user