效果

圖片發(fā)自簡(jiǎn)書App
代碼
Console.WriteLine("請(qǐng)輸入蘇小鬼的語文成績(jī)");? //輸入
int chinese = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("請(qǐng)輸入蘇小鬼的數(shù)學(xué)成績(jī)");
int math = Convert.ToInt32(Console.ReadLine());
bool b = chinese > 90 || math > 90; //判定
Console.WriteLine(b); //輸出
Console.ReadKey();