计算有固定收入的党员每月所交纳的党费。月工资收入400元及以下者,交纳月工资总额的0.5%;月工资收入401~600元者,交纳月工资总额的1%;月工资收入601~800元者,交纳月工资总额的1.5%;
2016-09-20 11:13
441 查看
/*说在前面,为完成实验所写并保存记录,代码简单潦草,勿喷!*/ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Taxation { class Program { static void Main(string[] args) { Console.WriteLine("月入多少大洋?"); double salary = double.Parse(Console.ReadLine()); if (salary <= 400) { Console.WriteLine("交{0}", salary * 0.005); } else if (salary >= 401 && salary < 600) { Console.WriteLine("交{0}", salary * 0.01); } else if (salary >= 601 && salary < 800) { Console.WriteLine("交{0}", salary * 0.015); } else if (salary >= 801 && salary < 1500) { Console.WriteLine("交{0}", salary * 0.02); } else { Console.WriteLine("交{0}", salary * 0.03); } Console.ReadLine(); } } }
相关文章推荐
- 工信部:软件业务收入增长14.1%,从业人员工资总额增长14.1%【软件网每日新闻播报│第10-26期】
- 为员工长工资。从最低工资调起每人长10%,请计算长工资的人数和长工资后的工资总额,并输出输出长工资人数及工资总额。
- C++ 第十周实验报告2---《根据个人月收入总额,计算出应缴税款和税后收入》
- 民航系统广大党员积极交纳特殊党费
- 编写选择结构程序,输入个人月收入总额,计算出他本月应缴税款和税后收入
- 习题 3.3 购房从银行贷了一笔款d, 准备每月还款额为p, 月利率为r, 计算多少月能还清。设d为300000元,p为6000元,r为1%。对求得的月份取小数点后一位,对第2位按四舍五入处理。
- 分支-11. 计算工资(15)
- 工资计算问题,类似计算某天是一年中的第几天的问题
- 【实用随记】购物车效果--计算件数总额以及加减效果
- 怎么让多个div横向并排,前面的div都固定宽度,最后一个div自动计算宽度
- CCF 2016 工资计算C++,Java,工资计算解题思路
- iOS 税前税后的工资计算
- 分支-11. 计算工资(15)
- CCF-CSP -201612-2 工资计算 java 实现
- PTA计算职工工资
- 公布一下工资管理系统中核心部分工资计算的代码
- 实验题 用类建立职工工资管理数据库,计算总工资并排序输出 统计并输出总工资最高的职工姓名和工资
- 三甲医院医生曝20年工资涨20倍 隐性收入远超工资
- 第二周项目5 计算员工一周工资
- 公布一下工资管理系统中核心部分工资计算的代码