Aktualizovat „du4/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-03 00:07:44 +00:00
parent 72fc100235
commit e4e2bda6a7

View File

@ -66,7 +66,7 @@ int main()
if(c=='E'||first==-5||second==-5||res==-5||(c!=43&&c!=42&&c!=45&&c!=47)){ if(c=='E'||first==-5||second==-5||res==-5||(c!=43&&c!=42&&c!=45&&c!=47)){
printf("CHYBA\n"); printf("CHYBA\n");
return 0; continue;
} }
double my_res = operation(first,second,c); double my_res = operation(first,second,c);
if(compare_percent(res,my_res,0.01)==0){ if(compare_percent(res,my_res,0.01)==0){