C语言实验一(3)-LMLPHP

#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;

}

05-11 17:27