Aktualizovat „du4/program.c“
This commit is contained in:
parent
c2c3113ab7
commit
2db9765b0e
@ -68,7 +68,7 @@ int main()
|
|||||||
sscanf(new_str,"%lf%c%lf%*[=]%lf",&first,&c,&second,&res);
|
sscanf(new_str,"%lf%c%lf%*[=]%lf",&first,&c,&second,&res);
|
||||||
|
|
||||||
|
|
||||||
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user