dim value1, value2, answer, points as integer
Console.WriteLine("Welcome to THE SHAPES QUIZ!!!")
Console.writeline("You will be given the measurements and will be given 4 options for the area.")
Console.writeline("If you guess the area right, then you get 2 points.")
Console.writeline("If you guess the area wrong, you will get a second chance, but this is only worth 1 point.")
Console.WriteLine("Please choose your shape: RECTANGLE, CIRCLE, TRIANGLE")
shape = Console.ReadLine()
loop until shape = "RECTANGLE" or shape = "CIRCLE" or shape = "TRIANGLE"
if shape = "RECTANGLE" then
console.WriteLine("Opening RECTANGLE questions.")
Console.WriteLine("Question 1:")
Console.WriteLine("Your measurements are " & value1 & " X " & value2)
Console.WriteLine("What's the area?")
Console.WriteLine("888, 893, 860, 903")
answer = Console.ReadLine()
Console.WriteLine("Well done, you got the answer right")
Console.WriteLine("You have " & points & " points")
elseif answer = "666" then
console.writeline("Well done")
Console.writeline("You have humour.")
Console.WriteLine("Get out of here")
elseif answer = "69" then
console.writeline("Well done")
Console.writeline("You have humour.")
Console.WriteLine("Get out of here")
Console.WriteLine("Second Chance!!!")
answer = Console.ReadLine()
Console.WriteLine("Well done you got it right")
Console.WriteLine("You have " & points & " points")
elseif answer = "666" then
console.writeline("Well done")
Console.writeline("You have humour.")
Console.WriteLine("Get out of here")
elseif answer = "69" then
console.writeline("Well done")
Console.writeline("You have humour.")
Console.WriteLine("Get out of here")
Console.WriteLine("Don't worry. You'll be ok")
Console.WriteLine("You have " & points & " points")
elseif shape = "CIRCLE" then
console.WriteLine("Opening CIRCLE questions.")
elseif shape = "TRIANGLE"
console.WriteLine("Opening TRIANGLE questions.")
Console.WriteLine("Question 1:")
Console.WriteLine("Your measurements are " & value1 & "base X " & value2 & " height")
Console.WriteLine("What's the area?")
Console.WriteLine("408.5, 408, 409, 418")
answer = Console.ReadLine()
Console.WriteLine("Well done, you got the answer right")
Console.WriteLine("You have " & points & " points")
elseif answer = "666" then
console.writeline("Well done")
Console.writeline("You have humour.")
Console.WriteLine("Get out of here")
elseif answer = "69" then
console.writeline("Well done")
Console.writeline("You have humour.")
Console.WriteLine("Get out of here")
Console.WriteLine("Second Chance!!!")
answer = Console.ReadLine()
Console.WriteLine("Well done you got it right")
Console.WriteLine("You have " & points & " points")
elseif answer = "666" then
console.writeline("Well done")
Console.writeline("You have humour.")
Console.WriteLine("Get out of here")
elseif answer = "69" then
console.writeline("Well done")
Console.writeline("You have humour.")
Console.WriteLine("Get out of here")
Console.WriteLine("Don't worry. You'll be ok")
Console.WriteLine("You have " & points & " points")