Изменить 'du4/program.c'
This commit is contained in:
parent
647e9e5535
commit
a542261a9b
@ -4,7 +4,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
int call(float A, float B, float C, char AC){
|
int call(float A, float B, float C, char AC){
|
||||||
if(AC=='/'&&B==0){
|
if(AC=='/'&&B==0||AC!=('+'||'-'||'*'||'-')){
|
||||||
return printf("CHYBA\n");;
|
return printf("CHYBA\n");;
|
||||||
}
|
}
|
||||||
else if(AC=='+'){
|
else if(AC=='+'){
|
||||||
|
Loading…
Reference in New Issue
Block a user