I am using Microsoft Visual Studio 2008 with VB.NET, and in class we were assigned this project:
A procedure should calculate a 2% price increase on all red shirts, but a 1% price increase on all other items. In addition to calculating the price increase, the procedure also should calculate the new price.
You can use the variables
strItemColr
,strItem
,decOrigPrice
,decIncrease
, anddecNewPrice
. Format the original price, price increase, and new price in thelblOriginal
,lblIncrease
, andlblNewPrice
controls, respectively.Write the Visual Basic code.
If not an answer, just some help please. I'm 16 and I am in the highschool/college class. Our teacher teaches via Skype at the college so I am limited to her help.