Hi, I'm kind of panicked, I have a homework assignment due later today, but I have no idea what I need to do. The requirement is to design a form that will prompt customers to enter their names, and to choose whether to rent a full size car, medium size car, or small size car. The form should also prompt users to enter the number of days to rent the car. Add a button (submit) to help send the formís data to a server-side script and another button (reset) to clear the formís data.
Accept the formís data using a JSP file with the following criteria to calculate the total cost of renting the car:
ē If a user chooses to rent a full size car, the charge is going to be $54.99 per day.
ē If a medium size car is chosen, the charge for it should be $45.99 per day.
ē Small size cars cost $36.99 per day to rent.
The following data should also be displayed: customer name, car size, days of renting, cost per day, total cost.
Here is what I have so far, even though I am probably no where close to being on the right track, so any help would be appreciated.
|All times are GMT +1. The time now is 01:09 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.