Visual Basic, computer science homework help

User Generated

mvmb23

Computer Science

Description

A program in a Visual Basic

Unformatted Attachment Preview

Joe’s Automotive performs the following routine maintenance services: • Oil change - $26.00 • Lube job - $18.00 • Radiator flush - $30.00 • Transmission flush - $80.00 • Inspection - $15.00 • Tire rotation - $20.00 Joe also performs other non-routine services and charges for parts and labor ($20 per hour). Create an application that displays the total for a customer’s visit to Joe’s. The form should resemble the one shown in Figure 6-25 on page 399. Note: Visual Studio lets you use an apostrophe in a project’s name, but the apostrophe will prevent you from being able to run the project after it has been created. DO NOT USE AN APOSTROPHE IN THE PROJECT NAME. The application should have the following functions: • OilLubeCharges Returns the total charges for an oil change and/or a lube job, if any • FlushCharges Returns the total charges for a radiator flush and/or a transmission flush, if any • MiscCharges Returns the total charges for an inspection, muffler replacement, and/or a tire rotation, if any • OtherCharges Returns the total charges for other services (parts and labor), if any • TaxCharges Returns the amount of sales tax, if any. Sales tax is 6%, and is only charged on parts. If the customer purchased services only, no sales tax is charged • TotalCharges Returns the total charges The application should have the following procedures, called when the user clicks the Clear button: • ClearOilLube Clears the check boxes for oil change and lube job • ClearFlushes Clears the check boxes for radiator flush and transmission flush • ClearMisc Clears the check boxes for inspection, muffler replacement and tire rotation • ClearOther Clears the text boxes for parts and labor • ClearFees Clears the labels that display the labels in the section marked Summary Input Validation: Do not accept negative amounts for parts and labor charges. Additional features: • Add radio buttons for Cash and Credit. If Cash is selected, give a 2% discount on the charges before taxes. Be sure to clear the buttons with a procedure from the Clear button. • Add a check box for Senior Citizen. If this is checked, give a 10% discount before taxes. Be sure to clear the checkbox with a procedure from the Clear button.
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hi! Here ...


Anonymous
Excellent! Definitely coming back for more study materials.

Studypool
4.7
Indeed
4.5
Sitejabber
4.4

Related Tags