TOPIC

O que está errado?

Ycarun asked 1 year ago

double M;

    double A = Convert.ToDouble(Console.ReadLine());
double B = Convert.ToDouble(Console.ReadLine());
double C = Convert.ToDouble(Console.ReadLine());

    M = ((A * 2) + (B * 3) + (C * 5)) / (2 + 3 + 5);

    Console.WriteLine("MEDIA = " + M);

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.