Visit www.myprogramminglab.com to complete many of these Programming Challenges online and get instant feedback.
Widget Factory
Design a class for a widget manufacturing plant. Assuming that 10 widgets may be produced each hour, the class object will calculate how many days it will take to produce any number of widgets. (The plant operates two shifts of eight hours each per day.) Write a program that asks the user for the number of widgets that have been ordered and then displays the number of days it will take to produce them.
Input Validation: Do not accept negative values for the number of widgets ordered.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.