c语言编程题 某工种按小时计算工资,每月劳动时间(小时)×每小时工资=总工资,总工资中扣除10%
答案:1 悬赏:40
解决时间 2021-02-17 01:32
- 提问者网友:愿为果
- 2021-02-16 11:53
c语言编程题 某工种按小时计算工资,每月劳动时间(小时)×每小时工资=总工资,总工资中扣除10%
最佳答案
- 二级知识专家网友:雪起风沙痕
- 2021-02-16 12:07
#include
int main()
{
int hours;
float wage;
float salary;
scanf("%d%f",&hours,&wage);
salary=hours*wage*(1-0.1);
printf("the salary should be $f
",salary);
}
追问:谢谢!
int main()
{
int hours;
float wage;
float salary;
scanf("%d%f",&hours,&wage);
salary=hours*wage*(1-0.1);
printf("the salary should be $f
",salary);
}
追问:谢谢!
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯