In: Computer Science
-create a magic 8 ball program in JavaScript
- use a loop to ask for the question
- use a random number to get the answer let
randAnswer=Math.round(Math.round()*10);
- must have at least 10 different answers
-Must use either elseif or switch statement for answer
-must output both answer and user input to console
- the program should repeat indefinitely until either blank input,
or cancel is selected
Bug in jsbin.com
Please don't use HTML thanks