Professional Documents
Culture Documents
QB64 Code
QB64 Code
Print "What is the name of the World's largest ocean? A-Atlantic Ocean, B-Southern Ocean,
C-Pacific Ocean, D-Arctic Ocean"
SAnswer1$ = "C"
SAnswer11$ = "c"
Input "Choose the correct answer"; Answer1$
1: Print "What is cynophobia? A-fear of cats, B-fear of dogs, C-fear of fishes, D-fear of lions"
SAnswer2$ = "B"
SAnswer22$ = "b"
Input "Choose the correct answer"; Answer2$
2: Print "Which monarch officially made Valentine's Day a holiday in 1537? A-James I, B-Henry
VII, C-Charles I, D-Henry VIII"
SAnswer3$ = "D"
SAnswer33$ = "d"
Input "Choose the correct answer"; Answer3$
If SAnswer3$ = Answer3$ Or SAnswer33$ = Answer3$ Then
Print "Correct answer!"
score = score + 1
TotalScore = TotalScore + 1
Print "Your score is now"; score
Print "CONGRATS!!! You answered all the questions correctly"
Print "Your total score is"; TotalScore
Print "Message Diluc#2620 via Discord to claim the prize"
Print "Thank you for participating in this event!"
Else
Print "Wrong answer"
Print "Your total score is"; TotalScore
Print "Better luck next time!"
End
End If