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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, koolgurl2003
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
image
Engineering, 04.07.2019 18:10, leomessifanboy678
The filament of an incandescent lamp has a temperature of 2000k. calculate the fraction of radiation emitted in the visible light band if the filament is approximated as blackbody
Answers: 2
image
Engineering, 04.07.2019 18:10, Candi9697
A-mn has a cubic structure with a0 0.8931 nm and a density of 7.47 g/cm3. b-mn has a different cubic structure, with a0 0.6326 nm and a density of 7.26 g/cm3. the atomic weight of manganese is 54.938 g/mol and the atomic radius is 0.112 nm. determine the percent volume change that would occur if a-mn transforms to b-mn.
Answers: 2
image
Engineering, 04.07.2019 18:10, oliviasoreo92
Compute the pressure drop of 30°c air flowing with a mean velocity of 8 m/s in a circular sheet-metal duct 300 mm in diameter and 15 m long. use a friction factor, f 0.02, and pair = 1.1644 kg/m a. 37.26 pa b. 25.27 pa n c. 29.34 pa d. 30.52 pa
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 in other subjects:

Konu
Mathematics, 06.02.2021 03:20
Konu
Mathematics, 06.02.2021 03:20
Konu
Mathematics, 06.02.2021 03:20