You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a console program that rolls a pair of dice and asks the user to guess the sum. If the user's guess is equal to the total value of the dice roll, the user wins. Otherwise, the computer wins.
This program answers any “Yes” or “No” question with a different random fortune each time it executes. It is inspired in the Magic 8-Ball, a popular toy developed in the 1950s for fortune-telling or advice seeking.