Академический Документы
Профессиональный Документы
Культура Документы
Intermediate project
If this much is completed correctly, student will receive a B (80-89%)
• Type of vehicle (May use something other than strings, such as: 1 for economy, 2 for sedan, etc.) • Days
rented
• Full tank?
Note:
• all weekly rates are 5 times the daily rates o You may use a constant, or just calculate this off the daily rental fee
• charge the daily rate for less than whole weeks o for example: 3 days would be three times the daily rate
• exceptions: o for periods more than a week but not a multiple of 7, charge the appropriate number at the
weekly rate, and then the appropriate number at the daily rate
for example: 17 days should be charged 2 weekly rates, and also 3 daily rates o If daily
charge is for 6 days (regardless of the weeks) charge the weekly rate (which is lower than 6 times
the daily rate).
Example: 13 days would be twice the weekly rate rather than the weekly rate + 6 daily
rates.
Fuel charges:
If the tank is not full when vehicle is returned, the customer is charged a $40.00 fuel fee
Taxes:
Summary Data:
• Number of customers
• Total fuel charges
• Total taxes collected
• Total money collected
• Average bill
Additional notes:
• Include IPO, algorithm, and desk check values (design documents)
• Source code file should contain o Proper comments at beginning o Proper style