Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

what is the output in these problems 6 Private sub btnoisplayclick() Handles btnoisplay.click Din price, markdown, salestax, finalcost As becinal Inputbata(price, markdoun, salesTax) inalcost CostorIten(price,

image text in transcribed

what is the output in these problems

6 Private sub btnoisplayclick() Handles btnoisplay.click Din price, markdown, salestax, finalcost As becinal Inputbata(price, markdoun, salesTax) inalcost CostorIten(price, narkdom, salesTax) bisplayoutput (price, rinalcost) End Sub Sub Inputbata(ByRef price As Decial, ByRef sarkdown As Decinal, OyRef salesTax As Decinal) cDec(InputBOx( "Price price of item:")) arkdon cDec(Inputbox( percentage discount:) salesTax-CDec(Input Box( "Percentage state sales tax:")) Function Costorites(pr As Decinal, nd As Decinal st As Decinal) As Decinal oin reducedPrice, cost As Decima.1 reducedprice pr((d 100)pr) cost reducedPrice((st /100)reducedPrice) End Sh Sub Displayoutput(anount As Decinal, custonerCost As Decinal lstoutput.Items Add original price:&anount TostringC) Istoutput.Items.Add("Cost:&custonerCost.Tostring("C)) End Sub Assume the three rponses ane 125, 20, and 6) & Private Sub btncalculate click(..) andles btncalculate.click i wholesalecost, saleprice, percentCommission sAlesTax, profit As Decinal InputData(wholesalecost, salePrice, percent connission) calculatesonevalues(wholesalecost, salePrice, percentconmission End Esel yoata(salestax, Brt Sub InputatA(ByRet wholesalecost As Decinal salesTA protit) Displayoata(salesTax, profit) , Byeer salePrice As Decinal, ByRef percent Commission As Decinal) wholesalecost180 salePrice3e0 percentcomission End Sub Sub CalculateSonevalues(wholesaleCost As Decinal saleprice As Decinal, percentcoenission As Decinal ByRef salesTax As Decinal, ByRer profit As Decinal) salesTax8.86D salePrice profitsaleprice wholesalecost salePrice (percent commission /189) Sub Displayoatat(salesTax As Decinal, profit As Decinal) 6 Private sub btnoisplayclick() Handles btnoisplay.click Din price, markdown, salestax, finalcost As becinal Inputbata(price, markdoun, salesTax) inalcost CostorIten(price, narkdom, salesTax) bisplayoutput (price, rinalcost) End Sub Sub Inputbata(ByRef price As Decial, ByRef sarkdown As Decinal, OyRef salesTax As Decinal) cDec(InputBOx( "Price price of item:")) arkdon cDec(Inputbox( percentage discount:) salesTax-CDec(Input Box( "Percentage state sales tax:")) Function Costorites(pr As Decinal, nd As Decinal st As Decinal) As Decinal oin reducedPrice, cost As Decima.1 reducedprice pr((d 100)pr) cost reducedPrice((st /100)reducedPrice) End Sh Sub Displayoutput(anount As Decinal, custonerCost As Decinal lstoutput.Items Add original price:&anount TostringC) Istoutput.Items.Add("Cost:&custonerCost.Tostring("C)) End Sub Assume the three rponses ane 125, 20, and 6) & Private Sub btncalculate click(..) andles btncalculate.click i wholesalecost, saleprice, percentCommission sAlesTax, profit As Decinal InputData(wholesalecost, salePrice, percent connission) calculatesonevalues(wholesalecost, salePrice, percentconmission End Esel yoata(salestax, Brt Sub InputatA(ByRet wholesalecost As Decinal salesTA protit) Displayoata(salesTax, profit) , Byeer salePrice As Decinal, ByRef percent Commission As Decinal) wholesalecost180 salePrice3e0 percentcomission End Sub Sub CalculateSonevalues(wholesaleCost As Decinal saleprice As Decinal, percentcoenission As Decinal ByRef salesTax As Decinal, ByRer profit As Decinal) salesTax8.86D salePrice profitsaleprice wholesalecost salePrice (percent commission /189) Sub Displayoatat(salesTax As Decinal, profit As Decinal)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

PostgreSQL 10 High Performance Expert Techniques For Query Optimization High Availability And Efficient Database Maintenance

Authors: Ibrar Ahmed ,Gregory Smith ,Enrico Pirozzi

3rd Edition

1788474481, 978-1788474481

More Books

Students also viewed these Databases questions

Question

6. (6 points) Let a @b=max{a, b} = a if b

Answered: 1 week ago

Question

1. Discuss the four components of language.

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago