How would I have my program compare input from a user to an already stored string within the program? Plus, how would I make my program give the ability of multiple choice?

Something like this would pop up on the screen:

The boy's ball is:
A. Blue
B. Red



Then the user has to press either A or B and then press Enter. The program then compares the input from the user to a stored char and if correct moves on.