Question: PYTHON 3 Assume a machine during its initial testing phase produces 10 widgets a day. After 10 days of testing (starting on day 11), it

PYTHON 3

Assume a machine during its initial testing phase produces 10 widgets a day. After 10 days of testing (starting on day 11), it begins to run at full speed, producing 40 widgets a day. After 50 days at full speed (days 11-60), it gradually starts becoming less productive, and produces 1 widget less per day, (ie. 39 widgets on day 61, etc.) until on day 100 it no longer produces any widgets. Write a program that will read in a day, and will report the total number of widgets produced by that day (including that day). For example, entering 3 would report 30 widgets. (Note: part of the challenge in this program is for YOU to work out the model for how to compute widgets produced in total, given the above information.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!