subject
Computers and Technology, 17.09.2019 20:30 lorie76

1. the program should start by asking the user if he wants to continue. the answer is ‘y’ for yes or ‘n’ for no. you can check the value with boolean expressions such as answer == ‘y’ or answer ! = ‘y’. the basic structure of the main loop is prompt to see if the user wants to continue while the value is ‘y’: all your other code goes here prompt to see if the user wants to continue 2. it will then continue to prompt the user to enter the following four items for a given customer (in the specified order): a. the customer's classification code (a character) b. the number of days the vehicle was rented (an integer) c. the vehicle's odometer reading at the start of the rental period (an integer) d. the vehicle's odometer reading at the end of the rental period (an integer) it will then process that customer information and display the results. at the end, the program should ask the user if he wants to process another request and it will keep asking until the user enter 0.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:30
In this lab, you complete a prewritten c program that calculates an employee’s productivity bonus and prints the employee’s name and bonus. bonuses are calculated based on an employee’s productivity score as shown below. a productivity score is calculated by first dividing an employee’s transactions dollar value by the number of transactions and then dividing the result by the number of shifts worked.
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Best laptops for college [$100-$500 range]?
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
Answers: 3
You know the right answer?
1. the program should start by asking the user if he wants to continue. the answer is ‘y’ for yes or...
Questions
question
Mathematics, 27.10.2020 05:30
question
Mathematics, 27.10.2020 05:30
question
Mathematics, 27.10.2020 05:30
question
Mathematics, 27.10.2020 05:30