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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 05:00, brylove603
Pls do you believe that the use of 3d animation has grown in feature films over the last few years? if so, do you think the trend will continue? what are the forces driving this trend?
Answers: 2
image
Computers and Technology, 22.06.2019 06:30, Melissamv2052
Selective incapacitation is a strategy to reduce prison population
Answers: 3
image
Computers and Technology, 22.06.2019 17:30, glocurlsprinces
Rachel completed typing an official document with a word processing program. she wants to make sure that her document has no typographical errors. she also wants all headings to have the same font. which features in a word processing program should she use? rachel should use the feature in a word processing program to find typographical errors. she should apply to have uniform headings.
Answers: 1
image
Computers and Technology, 23.06.2019 09:20, lovely222
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
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 in other subjects:

Konu
Geography, 20.09.2020 01:01
Konu
Mathematics, 20.09.2020 01:01