Aktualizovat „du4/program.c“
This commit is contained in:
parent
fcfe4f3939
commit
9ef6f3f681
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user