Console.WriteLine("Press 1 for Play Quiz")
Console.Writeline("Press 2 for Instructions")
Console.Writeline("Press 3 for Quit")
console.WriteLine("Play Quiz")
Dim attempt as Integer = 0
Console.writeline("Welcome to my Quiz on India begin...")
Console.Writeline("What is the National Bird of India")
guess = Console.Readline()
Loop Until attempt = 3 Or guess = "peacock"
if guess.ToLower() = "peacock" Then
Console.Writeline("Well done, your answer was right")
Console.writeline("Sadly,you ran out of attempts")
Console.WriteLine("Should of been more carful!")
Console.Writeline("What is the National Animal of India")
guess = Console.Readline()
Loop Until attempt = 3 Or guess = "tiger"
if guess.ToLower() = "tiger" Then
Console.Writeline("Well done, your answer was right")
Console.writeline("Sadly,you ran out of attempts")
Console.WriteLine("Should of been more carful!")
Console.Writeline("What is the National Sport of India")
guess = Console.Readline()
Loop Until attempt = 3 Or guess = "field hockey"
if guess.ToLower() = "field hockey" Then
Console.Writeline("Well done, your answer was right")
Console.writeline("Sadly,you ran out of attempts")
Console.WriteLine("Should of been more carful!")
Console.Writeline("What is the National Fruit of India")
guess = Console.Readline()
Loop Until attempt = 3 Or guess = "mango"
if guess.ToLower() = "mango" Then
Console.Writeline("Well done, your answer was right")
Console.writeline("Sadly,you ran out of attempts")
Console.WriteLine("Should of been more carful!")
Console.Writeline("What is the National Language of India")
guess = Console.Readline()
Loop Until attempt = 3 Or guess = "hindi"
if guess.ToLower() = "hindi" Then
Console.Writeline("Well done, your answer was right")
Console.writeline("Sadly,you ran out of attempts")
Console.WriteLine("Should of been more carful!")
console.writeline("When 1 is pressed the quiz will start When 2 is pressed the instructions are displayed When 3 is pressed you leave and quit the game")
console.WriteLine("Thank you for playing my quiz, Have a good day:)")
console.WriteLine("I am sorry but you have put a incorrect input only 1-3")