>
其他
>
c语言编写一个计算个人所得税程序
计算规则为:当月收入超过2000元时,超过部分按5%缴纳税款.是个初级c语言题目,不要写复杂了...
人气:323 ℃ 时间:2020-05-23 17:17:19
解答
#include <stdio.h>
int main()
{
float x, tax = 0;
scanf("%f", &x);
if (x > 2000) tax = (x - 2000)*0.05;
printf("tax = %f\n", tax);
return 0;
}
推荐
用C语言写一个计算A+B的简单程序
文章《竹》,急用!
Tom is ready to help (everybody).(就括号部分提问)
我有一个密码箱,四位数的,忘记了密码,要试多少次才能打开?急,以线等
猜你喜欢
已知a的平方+b的平方+c的平方=14,且ab+ac+ba=11,求a+b+c的值
什么是对称正定矩阵
英语翻译
成语接龙:低声不()象万()军万()别成(),心口如一_______,______,_____.
《泊船瓜洲》和《商山早行》这两首诗都属于()诗
英文作业答案.You don't like the picture. I don't like it, ______.
购买上帝的男孩的阅读理解文章兼答案哦!
7减二十分之七等于
© 2024 79432.Com All Rights Reserved.
电脑版
|
手机版