/*说在前面,为完成实验所写并保存记录,代码简单潦草,勿喷!*/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();}}}
计算有固定收入的党员每月所交纳的党费。月工资收入400元及以下者 交纳月工资总额的0.5%;月工资收入401~600元者 交纳月工资总额的1%;月工资收入601~800元者 交纳月工资总额的1.5%;