Visual Basic Program Help!

My Visual Basic Assignment!!!

Page 1 of 1

1 Replies - 2264 Views - Last Post: 12 February 2010 - 02:20 PM Rate Topic: -----

#1 JesusLover05  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 10-October 09

Visual Basic Program Help!

Posted 12 February 2010 - 09:31 AM

For my Visual Basic class, I have this program I am working but having trouble on how to calculate all of this. Here is the problem.

How Many Widges?
The Yukon Widget Company manufactures widgets it that weigh 9.2 pounds each. Create an application that calculates how many widgets are stacked on a pallet based on the total weight of the pallet. The user should be able to enter how much the pallet weighs alone and how much it weighs with the widgets stacked on it. The user should click a button to calculate and display the number of widgets stacked on the pallet. Also, obtain the cost of a widget. when the number of widgets is displayed, the total cost for those widgets will also be includedc.

User Input
Pallet
100
200
75
Pallet & Widgets
5,620
1,915
9,400
Cost Per Widget
10
25
15

Program Output
Number of Widgets
600
200
1,000
Total Cost
$6,000.00
$5,000.00
$15,000.00

For the program I have to use the try/catch mode. So, what would the calculations be for this program? I would really appreciate it if anyone cn help. Thank you and God bless you.

This post has been edited by JesusLover05: 12 February 2010 - 09:38 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Visual Basic Program Help!

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6035
  • View blog
  • Posts: 23,417
  • Joined: 23-August 08

Re: Visual Basic Program Help!

Posted 12 February 2010 - 02:20 PM

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.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1