break po deleni nulou
This commit is contained in:
parent
1d893f00ec
commit
b21c094531
@ -66,6 +66,7 @@ int main(){
|
|||||||
float a = pop_stack(&myStack);
|
float a = pop_stack(&myStack);
|
||||||
if(a == 0){
|
if(a == 0){
|
||||||
printf("division by zero\n");
|
printf("division by zero\n");
|
||||||
|
break;
|
||||||
}else{
|
}else{
|
||||||
float b = pop_stack(&myStack);
|
float b = pop_stack(&myStack);
|
||||||
float c = b/a;
|
float c = b/a;
|
||||||
|
Loading…
Reference in New Issue
Block a user