Question: Problem 1 . How Much Spaghetti Sauce? A spaghetti sauce recipe calls for the following ingredients: 3 cups of . omato sauce 1 cup of

Problem 1. How Much Spaghetti Sauce?
A spaghetti sauce recipe calls for the following ingredients:
3 cups of . omato sauce
1 cup of tomato paste
2 cloves garlic
2 tablespoon oregano
The recipe produces 5 servings with this amount of ingredients. Write a program that asks the user
how many servings they want to make, then displays the amount of each ingredient needed for the
specified number of servings.
Design. You will be using an IPO diagram to design your program. See IPO diagram attached to this
assignment. Under INPUTS, list everything the program will need to produce the result. Under
OUTPUTS, list what the program is going to produce. Under the PROCESS heading, list the detailed
pseudocode steps that need to occur to produce the program's output. This includes formulas your
program will need. See sections 2.1 and 2.2 on designing a program and using pseudocode.
Code. Write your program in Python using the aboye steps. Save your program as a .py file with the
name yourlastname_Lab2.1.py
Output. Your program should produce correctly labeled output rounded to 2 decimal places. See
section 2.8 More About Output. Sample dialog:
Enter the number of servings of spaghetti sauce you want to make: 9
To make 9.0 servigs of spaghetti sauce, you will need:
5.4 Cups of tomato sauce
1.8 cups of tomato paste
3.6 Cloves of garlic
3.6 Tablespoons of oregano/
Programming Style Requirements.
Problem 1 . How Much Spaghetti Sauce? A spaghetti

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 Programming Questions!