Question
VISUAL STUDIO IN VISUAL BASIC LANGUAGE *tryparse and varible NOT JAVA SCRIPT OR C LANGUAGE Lemon Motors sells vehicles of dubious quality to debatably discerning
VISUAL STUDIO IN VISUAL BASIC LANGUAGE
*tryparse and varible
NOT JAVA SCRIPT OR C LANGUAGE
Lemon Motors sells vehicles of dubious quality to debatably discerning customers. They've asked you to write an
app that determines sales prices.
Users will type a vehicle price in a text box. In other objects on your screen, users will select if they want:
Rust proofing for $500
Extended warranty for $2000
Pin striping for $250
When the calculate button is clicked, the following results will be displayed:
The total amount of the three add-ons listed above
The random discount, which is anywhere between 0% to 15% of the vehicle price
The subtotal, which is the vehicle price, plus add-ons, minus the discount.
A $300 service fee, which is added to all car sales
The sales tax, which is 10% of the subtotal
The final sale price, which is the subtotal plus tax and service fee.
All results are shown in local currency. All result labels should clear when a change is made to any object that
Private Sub btnClear_Click(sender As Object, e As EventArgs) Handles btnClear.Click 'Clear input content txtVehiclePrice.Text = String.Empty 'Clear results lblDiscount.Text = String.Empty lblAddOn.Text = String.Empty lblSubTotal.Text = String.Empty lblServiceFee.Text = String.Empty lblSalesTax.Text = String.Empty lblFinalPrice.Text = String.Empty 'Reset radio buttons radRustProofing.Checked = False radExtendedWarranty.Checked = False radPinStriping.Checked = False 'Put the cursor in textbox txtVehiclePrice.Focus() End Sub
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