diff --git a/步骤2.c b/步骤2.c new file mode 100644 index 0000000..ad78230 --- /dev/null +++ b/步骤2.c @@ -0,0 +1,12 @@ +#include +int main() +{ + int i; + int b[1001]; + float c[1001],d[1001],e[1001]; + for(i=1;i<=3;i++) + scanf("%d%f%f%f",&b[i],&c[i],&d[i],&e[i]); + for(i=1;i<=3;i++) + printf("%d %.1f %.1f %.1f\n",b[i],c[i],d[i],e[i]); + return 0; +}