工资
int num=Convert.ToInt32(Console.ReadLine()); int count100=num/100; int remain=num%100; int count50=num/50; remain=num%50; int count10=num/10; remain=num%10; int count5=num/5; remain=num%5; int count2=remain/2; remain=remain%2; Console.WriteLine("100的准备"+count100); Console.WriteLine("50的准备"+count50); Console.WriteLine("10的准备"+count10); Console.WriteLine("5的准备"+count5); Console.WriteLine("2的准备"+count2); Console.WriteLine("1的准备"+remain);