using System;
namespace URIApplication{
class URI {
static void Main(string[] args) {
double A=Convert.ToDouble(Console.ReadLine());
double B=Convert.ToDouble(Console.ReadLine());
double C=Convert.ToDouble(Console.ReadLine());
double MEDIA=(A*2.0+B*3.0+C*5.0)/10.0;
Console.WriteLine("MEDIA = "+MEDIA.ToString("0.0"));
}
}
}
No comments:
Post a Comment