Console.WriteLine("a"); int a = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("b; int b = Convert.ToInt32(Console.ReadLine()); int c=a%b; int d=a+b; if (c == 0) { Console.WriteLine("a"); } if (d > 100) { Console.WriteLine("a"); } else { Console.WriteLine(b); } Console.ReadKey();
网友评论