public static void Main()
Console.WriteLine("Hello, Welcome!");
Console.WriteLine("What's your name?");
name = Console.ReadLine();
Console.WriteLine("Nice to meet you " + name + "!" );
Console.WriteLine("I will help you calculating your average and tell you if you passed or not.");
double Math, Literature, Physics, History, English, Geography, Spanish, Biology,sum, average;
Console.WriteLine("What's your Math grade?");
Math = double.Parse(Console.ReadLine());
Console.WriteLine("What's your Literature grade?");
Literature = double.Parse(Console.ReadLine());
Console.WriteLine("What's your Physics grade?");
Physics = double.Parse(Console.ReadLine());
Console.WriteLine("What's your History grade?");
History = double.Parse(Console.ReadLine());
Console.WriteLine("What's your English grade?");
English = double.Parse(Console.ReadLine());
Console.WriteLine("What's your Geography grade?");
Geography = double.Parse(Console.ReadLine());
Console.WriteLine("What's your Spanish grade?");
Spanish = double.Parse(Console.ReadLine());
Console.WriteLine("What's your Biology grade?");
Biology = double.Parse(Console.ReadLine());
sum = (Math + Literature + Physics + History + English + Geography + Spanish + Biology);
Console.WriteLine("Very Good! You passed with an average of " + average);
Console.WriteLine("I’m sorry, you failed with an average of " + average);
Console.WriteLine("Good bye!");