University of BahrainCollege of Information Technology
Department of Computer Science
ITCS 316
Assignment 2
Create a windows application for a car agency called “The Yellow Car
Company”. The program should ask the user to enter car price, insurance
amount and car option as radio button (Low option, Mid option, Full option). Then calculate and
display the total car price based on the following information:
•
•
•
•
Mid option car will add BD 500 to the price
Full option car will add BD 1000 to the price
Car registration fees is BD 45
Discount Amount is 1.5% on cash payment only
Total car price = car price + option price + Insurance amount + Car registration fees – Discount
amount (on cash payment)
Include the following in to the form design:
•
•
•
•
•
Suitable picture box and title for the company.
Textboxes for car price, registration fees, option fees, and the discount amount.
Masked textbox for the insurance amount (3 digits).
Radio buttons for car options and a checkbox for payment
method (cash).
Error handling method to print an appropriate error message for the user.
Use Read-only property where necessary.
Three buttons for calculating total price, reset
and an exit button.
Provided is just a sample design, you can create your own.
•
•
Note: change the Print button to Reset.
Calculations might show different result than shown in the picture.
•
•
sample design