public static void Main()
String[] subject = {"Math", "Literature", "Physics", "History", "English", "Geography", "Spanish", "Biology"};
Console.WriteLine("Hi!\nwhat's yours name?");
String 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.");
for(int i=0;i<subject.Length;i++){
Console.WriteLine("what's your " + subject[i]+" grade?");
average += Double.Parse(Console.ReadLine());
if(average>=70) Console.WriteLine("Very Good! You passed with an average of " + average);
else Console.WriteLine("I’m sorry, you failed with an average of " + average);
Console.WriteLine("Good bye "+name +" (;");