Question
Application Title: Car Rental, Incorporated (use VB 2015) Purpose: Create a project for the local car rental agency that calculates rental charges. The agency charges
Application Title: | Car Rental, Incorporated (use VB 2015) |
Purpose: | Create a project for the local car rental agency that calculates rental charges. The agency charges $15 per day plus $0.12 per mile. Perform the five steps involved in designing and developing an application program. Appropriately save the Solution and Project Folders as Car Rental. |
Program Procedures: | |
| Create a form that will allow the user to input the customer name, address, city, state, zip code, beginning odometer reading, ending odometer reading, and the number of days the car was used. The form should also display information on the number of miles driven by the customer and the total charge due from the customer. Use text boxes, labels, and group boxes whenever appropriate. The State control should contain only two capital letters. The Zip code control should have a maximum length of five. Excluding the zip code control, right align all numeric information. |
| |
Requirements: | Set the forms background to a color other than gray. The user should not be able to maximize the form. Assign access keys to all appropriate objects on the form, set the tab order, and set the focus to all that apply. Include the command buttons: calculate, print, clear, and exit. The clear and exit buttons should perform the obvious. The print button should display a preview of the form. The calculate button event procedure needs to determine the number of miles traveled by the customer and the total charge due from the customer. Correctly declare all other variables. Use a constant for the $15 per day charge and the $0.12 mileage rate. Days and odometer values will be in whole number. Total charge due will contain decimals. Format all numeric values correctly. Internal documentation is required. |
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