subject

1. Write a program that allows the user to type in any one-line question and then your program will answer that question. The program will not really pay any attention to the question, but will simply read the question line and discard (ignore) all that it reads. Your program will open a file containing a few answers and picks one in order and displays it on the screen. It always gives one of the following answers:I'm not sure, but I think you will find the answer in your reference. That's a good question. If I were you, I would not worry about such things. That question has puzzled philosophers for centuries. I don't know. I'm just a machine. Think about it and the answer will come to you. I used to know the answer to that question, but I've forgotten it. The answer can be found in a secret place in the woods. These answers are stored in a file (one answer per line), and your program simply reads the next answer from the file and writes it out as the answer to the question. After your program has read the entire file, it simply closes the file, reopens the file, and starts down the list of answers again.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
For all machines-not just hammers- the user applies force force to the machine to the machine over a certain distance. a. input b. output c. duo d. none of the above
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
Your friend kayla is starting her own business and asks you whether she should set it up as a p2p network or as a client-server network. list three questions you might ask to kayla decide which network to use and how her answers to those questions would affect your recommendation.
Answers: 2
question
Computers and Technology, 24.06.2019 18:10
Most information security incidents will occur because of select one: a. users who do not follow secure computing practices and procedures b. increases in hacker skills and capabilities c. poorly designed network protection software d. increasing sophistication of computer viruses and worms
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
Brad wants to buy flowers for his friend with 33 dollars.the daisies are 1 dollar each and the roses are 2 dollars each he buy 3 more daisies than roses how much did the roses cost
Answers: 2
You know the right answer?
1. Write a program that allows the user to type in any one-line question and then your program will...
Questions
question
English, 30.03.2021 16:20
question
Mathematics, 30.03.2021 16:20
question
Mathematics, 30.03.2021 16:20
Questions on the website: 13722362