求平均数
static void Main(string[] args){int a = 95;int b = 80;int c = 76;float d = a + c + b;Console.WriteLine(\"这三位同学数学的平均数是:\");Console.WriteLine(\"{0:f1}\",d/3);Console.ReadKey();}
求平均数
static void Main(string[] args){int a = 95;int b = 80;int c = 76;float d = a + c + b;Console.WriteLine(\"这三位同学数学的平均数是:\");Console.WriteLine(\"{0:f1}\",d/3);Console.ReadKey();}