Изменить 'du4/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-03-31 11:10:35 +00:00
parent 6e04d3556b
commit 995379371c

View File

@ -45,7 +45,7 @@ for(int i=0;el!='\n';i++){
//3.4␣+␣2.3␣=␣5.7␣ //3.4␣+␣2.3␣=␣5.7␣
//scanf("%s",str); //scanf("%s",str);
sscanf(str,"%f%c%f=%f ",&a,&ac,&b,&c); sscanf(str,"%f%c%f=%f ",&a,&ac,&b,&c);
printf("%f %c %f =%f",a,ac,b,c); //printf("%f %c %f =%f",a,ac,b,c);
call(a,b,c,ac); call(a,b,c,ac);
return 0; return 0;
} }