using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IF
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("請輸入語文成績:");
int chinese = Convert.ToInt32(Console .ReadLine ());
Console.WriteLine("請輸入數學成績:");
int music = Convert.ToInt32(Console.ReadLine());
bool a = chinese > 99;
bool b = music > 70;
if (a & b )
Console .WriteLine ("恭喜你成功了,獎勵你100元");
else
Console .WriteLine("不給你錢,請你下次努力");
Console.ReadKey();
}
}
}