Aktualizovat „du4/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-02 23:04:57 +00:00
parent 109f57f7b9
commit e8f15a894b

View File

@ -36,7 +36,7 @@ int main()
memset(str,0,100);
fgets(str,100,stdin);
char *new_str = compactString(str,strlen(str));
printf("%s\n",new_str);
//printf("%s\n",new_str);
double first =-5,second =-5,res=-5;
char c='E';
sscanf(new_str,"%lf%c%lf%*[=]%lf",&first,&c,&second,&res);