Question
A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each
A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours. The parking lot attendant should enter the hours parked for each customer. The application then calculates and displays the parking charges for that customer and calculates and display the running total of all receipts. Instructions Based on the problem statement, write an algorithm ( the sequence of actions required) to calculate the parking charges for each customer and to keep the running total of all receipts for a single business day. Save your algorithm in a PDF file. Create a UML Use Case Diagram based on the problem statement. Use UMLet and save the diagram in PDF format. Create a UML Activity Diagram based on the problem statement and your algorithm. Use UMLet and save the diagram in PDF format.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started