#include<stdio.h>
#include<math.h>
int main()
{
float x,y;
scanf("%f,%f",&x,&y);
printf("z=%d\n",int(x+1/fabs(y)));
printf("z=%15.6f\n",x+1/fabs(y));
printf("z=%e\n",x+1/fabs(y));
return 0;
}
2022-10-03 14:13:31
#include<stdio.h>
#include<math.h>
int main()
{
float x,y;
scanf("%f,%f",&x,&y);
printf("z=%d\n",int(x+1/fabs(y)));
printf("z=%15.6f\n",x+1/fabs(y));
printf("z=%e\n",x+1/fabs(y));
return 0;
}