求大神,求解释,错误好多,万分感谢!!!
#include void main()
{
float salary,a_salary;
int age;
printf("input your age=?\n")
scanf("%d",&age);
if(age=1)
a_salary=0.1*1500;
printf("salary=%d",salary);
else if(2<=age&&age<=3)
a_salary=0.2*1500;
printf("salary=%d",salary);
else if(4<=age&&age<=5)
a_salary=0.5*1500;
printf("salary=%d",salary);
else if(6<=age&&age<=8)
a_salary=0.8*1500;
printf("salary=%d",salary);
else
a_salary=0.1*1500*age;
salary=a_salary+1500;
printf("salary=%d",salary);
return 0;
}