![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 05.05.2020 22:22 samy17
Write a program that simulates a Magic 8 Ball, which is a fortune-telling toy that displays a random response to a yes or no question. Your program will read a file named eightBallResponses. txt that will be found in the same folder as the executing program. The file contains 16 response messages (each followed by a newline). Your program will store these in an array of strings. The program will prompt the user to enter a question and in response your program will display one of the messages selected randomly by subscript from your array. The program will repeat until the user is ready to quit
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 03:30, rebekah2503
Identify at least three types of characteristics that you were asked about as you the computer identify a fruit.
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:30, lindalu
Hassan is writing his master’s thesis, which is a thirty-page document. he received some feedback from his professor in the form of comments, but does not see where the comments are. what is the fastest way for hassan to find the feedback?
Answers: 3
![image](/tpl/images/cats/informatica.png)
You know the right answer?
Write a program that simulates a Magic 8 Ball, which is a fortune-telling toy that displays a random...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/health.png)
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/en.png)
English, 04.11.2020 07:00
![Konu](/tpl/images/cats/biologiya.png)
Biology, 04.11.2020 07:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 04.11.2020 07:10
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/es.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 04.11.2020 07:10