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.
Pallet & Widgets
Cost Per Widget
Number of Widgets
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