[nfbcs] Trivia game help

Brian Buhrow buhrow at nfbcal.org
Tue Apr 18 16:18:05 UTC 2017


	hello.  I'm not an expert in the particular language you're using, but
in the code snippet you provided, it looks like you only write output if
the input matches the CorrectAnswer string.  If I were debugging this, I
would print a message including the actual input the user provided, so I
could see what the computer is receiving.  I'd do this regardless of
whether the if statement that tests for the CorrectAnswer fires.  

Hope that helps.
-Brian





More information about the NFBCS mailing list