Aktualizovat „du4/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-02 23:46:33 +00:00
parent fcfe4f3939
commit 9ef6f3f681

View File

@ -63,7 +63,7 @@ int main()
j++; j++;
} }
for(int k=0;k<i;k++){ for(int k=0;k<i;k++){
char *new_str = compactString(str[i],strlen(str)); char *new_str = compactString(str[k],strlen(str[k]));
double first =-5,second =-5,res=-5; double first =-5,second =-5,res=-5;
char c='E'; char c='E';
sscanf(new_str,"%lf%c%lf%*[=]%lf",&first,&c,&second,&res); sscanf(new_str,"%lf%c%lf%*[=]%lf",&first,&c,&second,&res);