Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, Molly666
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, vane3152
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, mjweed3381
Cloud computing service providers manage different computing resources based on the services they offer. which resources do iaas and paas providers not manage? iaas providers do not manage the for the client, whereas paas providers usually do not manage the for their clients. iaas- storage server operating system network paas- applications interafce storage vertualiation
Answers: 2
image
Computers and Technology, 23.06.2019 17:00, Need1ng
The more powerful, 60 volt cables and the main power shut-off on an hev are both colored orange.
Answers: 1
Do you know the correct answer?
1. Write a program that allows the user to type in any one-line question and then your program will...

Questions in other subjects:

Konu
Mathematics, 27.09.2019 06:50
Konu
Mathematics, 27.09.2019 06:50
Konu
Physics, 27.09.2019 06:50
Konu
Mathematics, 27.09.2019 06:50