Magic8Ball Simulation
Topics: Arrays, Strings
Write a program
Magic8Ball.java
to do the following:
In a loop:
Using Scanner, input any question from the user as a String.
If the user inputs “quit”, then exit the loop immediately.
Output
1 of 20 possible answers
at random.
The
randbetween method
will be useful here.