public static void Main()
Console.WriteLine("Enter the maths marks");
int m = Int32.Parse(Console.ReadLine());
Console.WriteLine("Enter the physics marks");
int p = Int32.Parse(Console.ReadLine());
Console.WriteLine("Enter the chem marks");
int c = Int32.Parse(Console.ReadLine());
Console.WriteLine("Enter your choice - Weighted Average (WA) or Normal Average(NA) ");
string choice = Console.ReadLine();
double Weighted = 0.5 * m + 0.25 * p + 0.25 * c;
Console.WriteLine("Weighted average= " + Weighted);
double normal = (m + p + c) / 3;
Console.WriteLine("Normal average= " + normal);
Console.WriteLine("Wrong option for the choice! Try Again");