subject
Engineering, 23.01.2020 21:31 cicilee49

Cse 231 fall 2019 project #2 3. the program will compute the amount of money that the customer will be billed, based on the customer's classification code, number of days in the rental period, and number of miles driven. the program will recognize both upper case and lower case letters for the classification codes. this assignment focuses on the design, implementation and testing of a python program which uses control structures to solve the problem described below. it is worth 20 points (2% of course grade) and must be completed no later than 11: 59 pm on monday, september 16. code 'b' (budget) assignment overview (leaming objectives) this assignment will give you more experience on the use of: • integers (int) • conditionals • iteration • input/output base charge: $40.00 for cach day mileage charge: $0.25 for each mile driven code 'd' (daily) base charge: $60.00 for each day assignment specifications mileage charge: no charge of the average number of miles driven per day is 100 miles or less, otherwise, s0.25 for each mile driven above the 100 mile per day limit. the program will compute and display information for a company which rent vehicles to its customers. for a specified customer, the program will compute and display the amount of money charged for that customer's vehicle rental. code 'w' (weekly) base charge: $190.00 for each week (or fraction of a week) 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 mileage charge: no charge if the average number of miles driven per week is 900 miles or less; $100.00 per week if the average number of miles driven per week exceeds 900 miles but does not exceed 1500 miles, otherwise, $200.00 per week plus $0.25 for each mile driven above the 1500 mile per week limit. answery the basic structure of the main loop is the amount billed to the customer is the sum of the base charge and the mileage charge. 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 4. the program will compute the number of miles driven by the customer during the rental period. the odometer readings are taken from an odometer which has six digits and records tenths of a mile. 5. for each customer, the program will display a summary with the following information: 2. it will then continue to prompt the user to enter the following four items for a given customer (in the specified order): rented an intental period an integer) 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) a. the customer's classification code b. the number of days the vehicle was rented c. the vehicle's odometer reading at the start of the rental period d. the vehicle's odometer reading at the end of the rental period c. the number of miles driven during the rental period f. the amount of money billed to the customer for the rental period 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. all output will be appropriately labeled and formatted. the number of miles driven will be rounded to one fractional digit. the amount of money billed will be displayed with a dollar sign and will be rounded to two fractional digits (for example, $125.99 or $43.87). note that we do not have the ability yet to fine tune the output so if cents end in zero that final zero will not be

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
question
Engineering, 04.07.2019 18:10
What are the two (02) benefits, which may result from a successful implementation of preventive maintenance (pm) program in an organization? (clo3)a)- lean manufacturing b)-overlapping responsibilities c)-the planner is not qualified d)-accurate contractor information e)-reduction in equipment redundancies f)-accurate stores information
Answers: 3
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
question
Engineering, 04.07.2019 18:20
Inspection for bearing condition will include: (clo4) a)-color b)-smell c)-size d)-none of the above
Answers: 1
You know the right answer?
Cse 231 fall 2019 project #2 3. the program will compute the amount of money that the customer will...
Questions
question
Mathematics, 19.05.2020 03:25
question
Mathematics, 19.05.2020 03:25
question
Physics, 19.05.2020 03:25
question
History, 19.05.2020 03:25
question
Mathematics, 19.05.2020 03:26
Questions on the website: 13722367