RETAIL PRICE CALCULATOR

application visual basic exp 2008

Page 1 of 1

5 Replies - 9016 Views - Last Post: 12 April 2009 - 05:18 PM Rate Topic: -----

#1 boss_javi  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 12
  • Joined: 12-April 09

RETAIL PRICE CALCULATOR

Posted 12 April 2009 - 03:33 PM

hello i need help with my hw please someone help me..i need to the the following

this is what my book says

1.Retail Price Calculator

Write an application that accepts from the user the wholesale cost of an item and its markup percentage.(for example, if an item's wholesale cost is $5 and its retail price is $10, then the markup price is 100%)

The program should contain a function named CalculateRetail that receives the wholesale cost and markup percentage as arguments, and returns the retail price of the item.

When the user clicks the Get retail button, the program should do the following :

>verify that the values entered by the user for the wholesale cost and the markup percent are numeric and not negative

>call the CalculateRetail fuction

>dispay the retail cost as returned from the fuction




this wat i got so fart i dont know wat im missing or i got wrong

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetRetail.Click
	  
		 lblRetail.Caption = Format(txtWholesale.Text + ((txtWholesale.Text * (txtMarkup.Text / 100))), "0.00")   
 End Sub


	Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

' End the aplication'

	End Sub
End Class

This post has been edited by boss_javi: 13 April 2009 - 11:05 AM


Is This A Good Question/Topic? 0
  • +

Replies To: RETAIL PRICE CALCULATOR

#2 GreaseMonkey  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 23-March 09

Re: RETAIL PRICE CALCULATOR

Posted 12 April 2009 - 03:35 PM

you need to show some code you have already made dude, your just gonna get modded otherwise

This post has been edited by GreaseMonkey: 12 April 2009 - 03:35 PM

Was This Post Helpful? 0
  • +
  • -

#3 boss_javi  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 12
  • Joined: 12-April 09

Re: RETAIL PRICE CALCULATOR

Posted 12 April 2009 - 04:03 PM

View PostGreaseMonkey, on 12 Apr, 2009 - 02:35 PM, said:

you need to show some code you have already made dude, your just gonna get modded otherwise


\
ok sorry man ill put one ...can u help me man ?
Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6066
  • View blog
  • Posts: 23,526
  • Joined: 23-August 08

Re: RETAIL PRICE CALCULATOR

Posted 12 April 2009 - 04:15 PM

If this is VB Express 2008, then it's .NET, so I'm moving there.

And here's the moddenation GreaseMonkey warned you about:

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
Was This Post Helpful? 0
  • +
  • -

#5 boss_javi  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 12
  • Joined: 12-April 09

Re: RETAIL PRICE CALCULATOR

Posted 12 April 2009 - 04:49 PM

View PostGreaseMonkey, on 12 Apr, 2009 - 02:35 PM, said:

you need to show some code you have already made dude, your just gonna get modded otherwise



i got the code man ...sorry about that im new here
Was This Post Helpful? 0
  • +
  • -

#6 boss_javi  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 12
  • Joined: 12-April 09

Re: RETAIL PRICE CALCULATOR

Posted 12 April 2009 - 05:18 PM

hello my name is javi i need help with an application please someone help me..i need to the the following

this is what my book says

1.Retail Price Calculator

Write an application that accepts from the user the wholesale cost of an item and its markup percentage.(for example, if an item's wholesale cost is $5 and its retail price is $10, then the markup price is 100%)

The program should contain a function named CalculateRetail that receives the wholesale cost and markup percentage as arguments, and returns the retail price of the item.

When the user clicks the Get retail button, the program should do the following :

>verify that the values entered by the user for the wholesale cost and the markup percent are numeric and not negative

>call the CalculateRetail fuction

>dispay the retail cost as returned from the fuction




this wat i got so fart i dont know wat im missing or i got wrong

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetRetail.Click
	  
		 lblRetail.Caption = Format(txtWholesale.Text + ((txtWholesale.Text * (txtMarkup.Text / 100))), "0.00")   
 End Sub


	Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

' End the aplication'

	End Sub
End Class

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1