• 100% Satisfaction Guarantee
Ramesh Patil, Computer Software Engineer
Category: Programming
Satisfied Customers: 422
Experience:  MCA, 3+ years of experience in Asp.Net, C#, SSIS, VB.Net, Ms-SqlServer2005, MySql, Javascript,
17234343
Ramesh Patil is online now

# Design a flowchart or pseudocode for the event procedure btnCalcScale_Click,

Design a flowchart or pseudocode for the event procedure btnCalcScale_Click, which calculates the total of a retail price. Assume the program uses txtRetailPrice, a TextBox control that holds the retail price of the item being purchased, and decTAX_RATE, a constant that holds the sales tax rate. The event procedure uses the items above to calculate the sales tax for the purchase and the total of the sale. Display the total of the sale in a label named lblTotal.
hi,

Thank you for the accept.

If you want exact answer then see below exact procedure/event created :

here const value tax rate decTAX_RATE=3 %

Private Sub btnCalcScale_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalcScale.Click
Dim retailPrice As Double, totalSale As Double
Const decTAX_RATE As Double = 0.03

retailPrice = CDbl(txtRetailPrice.Text)

totalSale = retailPrice + (decTAX_RATE * retailPrice)

lblTotal.Text = totalSale.ToString()
End Sub

Regards,
Ramesh

Edited by Ramesh Patil on 1/22/2010 at 8:28 PM EST
Customer: replied 7 years ago.
Thank you. Yes that helps much.
Customer: replied 7 years ago.
Can you help me to actually put this into a flowchart?
I can create flowchart in word doc or i can give you image of flowchart for this program.

I am unable to provide you flowchart in visio.

Customer: replied 7 years ago.

In word document would be great.

Thank you.

wait i will give you answer within next 15 minutes or less
Hi,

Flowchart as image:

Flowchart in Document: