c语言实验一 C运行环境与最简单程序设计

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



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


