Assignment 7 — multi-input problem solving

Due time: Wednesday, September 11


Downloads


Program all_consuming.py


Assumptions


Requirements


Notes


Suggested agorithm


Three program runs

What is something you consume daily: paper napkins

Enter paper napkins consumed on a normal weekday: 6

Enter paper napkins consumed on a normal weekend day: 0

You consume 1560 paper napkins per year.

What is something you consume daily: pretzels

Enter pretzels consumed on a normal weekday: 0

Enter pretzels consumed on a normal weekend day: 1

You consume 104 pretzels per year.

What is something you consume daily: jelly beans

Enter jelly beans consumed on a normal weekday: 4

Enter jelly beans consumed on a normal weekend day: 12

You consume 2288 jelly beans per year.

 


 

 

 
   
   
   
 
  © 2019 Jim Cohoon   Resources from previous semesters are available.