Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Instructions: A cookie reaipe calls for the following ingredients: 1 . 5 cups of sugar 1 cup of butier 2 . 7 5 cups of

Instructions:
A cookie reaipe calls for the following ingredients:
1.5 cups of sugar
1 cup of butier
2.75 cups of fiour
The recipe produces 48 cookies with this amount of the ingredients.
Write a progrem that asks the user how many cookies he or she wants to make, then displays the number of cups of each ingredient needed for the speciiled number of cookies.
Include the header:
# Class: CIST 2742 Python Programming I
# Term: Fall 2022
# Instructor Chris Bishop
# Description: Solution to Lab #ix
#Author (Student Name Here)
#
# By turning in this code, I Pledge:
#1. That I have compleled the programming assignment independentis.
#2 I have not copied the code from a student or any source.
#3. I have not given my code to any student
Execute the program and take screen capture of output.
Submit screen capture and python(py) fille via blackooard.
Enter the number of cookies: 200
To make 100.0 cookies, you vilz need:
3.12 cups of sugar
2.08 cups of butter
5.73 cups of flour
Sample result:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions