How do I make a Magic8Ball game on Java that does the following: 1. When your program
Fantastic news! We've Found the answer you've been seeking!
Question:
How do I make a Magic8Ball game on Java that does the following:
1. When your program runs, it should prompt the user to ask a question, e.g.:
"What would you like to ask the Magic 8 Ball?"
2. Your program should validate that the user entered something. It should then repeat the question and then randomly choose from a set of preset answers. You can look up the standard Magic 8 Ball answers, or supply your own.
3. Your program should then ask the user if they want to ask another question. "Ask another question? 1 for yes, 2 for no."
4. The program should validate that the user entered either 1 or 2, and then either repeat the initial prompt or exit.
Related Book For
Posted Date: