Изменить 'du4/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-03-31 11:13:44 +00:00
parent 647e9e5535
commit a542261a9b

View File

@ -4,7 +4,7 @@
#include <ctype.h>
int call(float A, float B, float C, char AC){
if(AC=='/'&&B==0){
if(AC=='/'&&B==0||AC!=('+'||'-'||'*'||'-')){
return printf("CHYBA\n");;
}
else if(AC=='+'){