using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("请输入老苏的语文成绩");
int chinese = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("请输入老苏的音乐成绩");
int music = Convert.ToInt32(Console.ReadLine());
bool b = chinese > 90 && music > 80|| chinese == 100 && music > 70;
if (b) ;
Console.WriteLine("奖励100元");
Console.ReadKey();
}
}
}
网友评论