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.

Before you keep reading...

Runestone Academy can only continue if we get support from individuals like you. As a student you are well aware of the high cost of textbooks. Our mission is to provide great books to you for free, but we ask that you consider a $10 donation, more if you can or less if $10 is a burden.

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.

You have attempted 1 of 4 activities on this page