public static void Main()
Console.WriteLine("Hello! I'll be helping you today");
Console.WriteLine("What's your name?");
name = Console.ReadLine();
Console.WriteLine("Nice to meet you " + name);
Console.WriteLine("I will help you with your avarage and tell you if you passed or not");
Console.WriteLine("What did you get in math?");
math = int.Parse(Console.ReadLine());
Console.WriteLine("What did you get in literature?");
literature = int.Parse(Console.ReadLine());
Console.WriteLine("What did you get in physics?");
physics = int.Parse(Console.ReadLine());
Console.WriteLine("And finally, what did you get in history?");
history = int.Parse(Console.ReadLine());
total = math + literature + physics + history;
Console.WriteLine("Your avarage is " + average);
if (total > 70 || total == 70)
Console.WriteLine("Congratulations!!! You passed");
Console.WriteLine("Sorry, you failed");