Question: VISUAL STUDIO IN VISUAL BASIC LANGUAGE *tryparse and varible NOT JAVA SCRIPT OR C LANGUAGE The code below is providing a random percentage.. for example

VISUAL STUDIO IN VISUAL BASIC LANGUAGE *tryparse and varible NOT JAVA SCRIPT OR C LANGUAGE The code below is providing a random percentage.. for example its generating 200.00% ..... i am looking for 2%

The random discount, which is anywhere between 0% to 15% of the vehicle price 'a random discount between 0 to 15%

dblDiscount = ranDis.Next(0, 16)

dblSubTotal = intVehiclePrice + dblAddOn - dblDiscount

dblSalesTax = dblSubTotal * dblTAX_RATE

dblFinalPrice = dblSubTotal + dblSalesTax + dblServiceFee

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!