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