public static void easy()
Random rnd1 = new Random();
int rnd = rnd1.Next(1,10);
int rnd2 = rnd1.Next(1,10);
Console.WriteLine("{0} + {1} = ",rnd, rnd2);
int answer = int.Parse(Console.ReadLine());
Console.WriteLine("Correct!");
Console.WriteLine("You got 10 right!");
public static void average()
Random rnd1 = new Random();
int rnd = rnd1.Next(1,10);
int rnd2 = rnd1.Next(1,10);
Console.WriteLine("{0} * {1} = ",rnd, rnd2);
int answer = int.Parse(Console.ReadLine());
Console.WriteLine("Correct!");
Console.WriteLine("You got 10 right!");
public static void Main()
Console.WriteLine("Maths Game");
Console.WriteLine("Type = Easy, Average or Hard");
string diff = Console.ReadLine();