Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is my assignment question, please give detailed explanation ( step by step ) on how to do , and the codes as well. Give

This is my assignment question, please give detailed explanation(step by step) on how to do, and the codes as well. Give complete answer. Please help me.
Create a system that does the following:
A local hotel valet parking charges its clients using the valet facility with the following Parking Rate:
Hour Premier VIP
Weekdays (First Hour)5.0015.00
Weekdays (Subsequent Hour)3.0010.00
Weekends (First Hour)10.0020.00
Weekends (Subsequent Hour)6.0010.00
Overnight (multiple of 24 hours)(both are charged 50.00 per 24 hours)
You are to submit the PHP codes in ONE PDF document. This is an INDIVIDUAL EFFORT. Use your creativity to beautify the page(s). Include the screenshots of your output which shows every single type of parking instances.
The interface for the input should include
vehicle number
number of hours parked
type of parking (weekday / weekend)
At any point of time, you may want to know
which vehicle number(s) has parked the longest hour
the average amount of parking fee charged
The calculation for hours below 24 hours is as following the table.
The calculation for hours above 24 hours should follow the multiplier plus the number of hours in the table. (For instance, 50 hours: First 24 hours (50)+ second 24 hours (50)+ first hour (weekday 5.00)+ subsequent hour (3.00)=108.00. The hotel charges weekday or weekend based on the day the driver enters the parking area. If the driver started with weekend, he/she is charged with weekend rate even if he/she leaves on weekdays and vice-versa.
Prepare a test data for each type of parking to ensure that your calculation is correct by showing the expected and actual result in your submission.
Create a flat text file to keep the information.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions