戴超宇*3
using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { Console.WriteLine("语文成绩"); string STRchinese = Console.ReadLine(); Console.WriteLine("数学成绩"); string strmath = Console.ReadLine(); Console.WriteLine("英语成绩"); string stre = Console.ReadLine(); int chinese = Convert.ToInt32(STRchinese); int math = Convert.ToInt32(STRchinese); int e = Convert.ToInt32(STRchinese); int sum =chinese+math+e; double s = sum / 3; Console .WriteLine ("你的成绩为:{0},平均成绩为{1}",sum,s); Console .ReadKey();