13.3. Fortune Teller

You can tell someone’s fortune by having them pick a number and then using if statements to print the fortune for the number.

Modify the program to handle when the user enters something other than a number from 1 to 5. Also add some additional fortunes and allow the user to pick a number from 1 to 10.


Discuss topics in this section with classmates.

Show Comments
You have attempted of activities on this page