第4节课第一个作业

#作业目标:作业1:语文和数学有一门是大于90分的

##代码:

Console.WriteLine ("请输入小苏的语文成绩");

            string str_chinese = Console.ReadLine();

            int Chinese = Convert.ToInt32(str_chinese);

          Console.WriteLine  ("请输入小苏的数学成绩");

          string str_math = Console.ReadLine();

          int Math = Convert.ToInt32(str_math);

            bool b=Chinese>90||Math>90;

            Console.WriteLine(b);

            Console.ReadKey();

###实际效果

你可能感兴趣的:(第4节课第一个作业)