Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SYSTEMS ANALYSIS AND DESIGN Consider the following operation specification, regarding the return of a car (by car we intend an individual car, not a car
SYSTEMS ANALYSIS AND DESIGN
Consider the following operation specification, regarding the return of a car (by car we intend an individual car, not a car make/model; there can be more than one car of the same make/model) to a car rental agency by a customer.
Upon receiving the car ID, the operation needs to do the following.
- Change the status of the car from with_customer to available.
- If the current date is later than the return date (set at the time of the booking), apply a penalty of 50 per each extra day.
- If the tank is not full, apply a penalty of 10 for each 10% missing (assume the fuel indicator has 11 notches, from 0% to 100%).
- If no penalty is applied, issue a 10% discount voucher to the customer.
Give this specification with an activity diagram or in controlled English / pseudo-code.
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