我又遇到个新问题!希望帮忙看看!
#include<stdio.h>
void main()
{
double a,b,c,name,wages,age;
printf("Please input the name:");
scanf("%lf",&a);
printf("Please input the wages:");
scanf("%lf",&b);
printf("Please input the age:");
scanf("%lf",&c);
name=a;
wages=b;
age=c;
printf("%lf\n",name,wages,age);
}
我想按名字写完写工资然后在写年龄!但是我填了名字后就直接跳下去了!
工资和年龄还没有写,他就生成了!
我记的有个代码的!但是我想不起来是什么了!希望大家可以帮我看看!

