Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Visual Basic 2017 assignment , car rental Task: Create a project for the local car rental agency that calculates rental charges. The agency charges $49
Visual Basic 2017 assignment , car rental
Task:
- Create a project for the local car rental agency that calculates rental charges. The agency charges $49 per day plus $0.20 per mile.
Form:
- Use text boxes for the beginning odometer reading, ending odometer reading, and the number of days the car was used. Use text boxes to display the miles driven and the total charge. Format the output appropriately.
-
Include buttons for Calculate, Clear, and Exit
Code:
- Include an event procedure for each button. For the calculation, subtract the beginning odometer reading from the ending odometer reading to get the number of miles traveled. Use a constant for the $40 per day charge and the $0.19 mileage rate.
- Display a message to the user for any bad input data.
For Full Credit:
- Program must be well documented and controls well named according to standards.
- Data must be validated and formatted appropriately
- You must use CONSTANTS for the daily charge and mileage rates in your calculation.
- Results for miles driven and total charges must match Runtime answers
- Calculate, Clear, Exit buttons must all be functionalVi
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