Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
func CheckAnswer(answer string, correctAnswer string) string {
if answer == correctAnswer {
returnCorrect! Well done
} else {
return (“WRONG! Answer is: “ + correctAnswer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment