Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need hel with this in python 1.2 Program: Smoothie Calculator (Optional) You must design a program to help the user make smoothies! The program

I need hel with this in python image text in transcribed
image text in transcribed
1.2 Program: Smoothie Calculator (Optional) You must design a program to help the user make smoothies! The program must do the following: (1) Prompt the user for the number of cups of orange juice, milk, and strawberries needed (2) Prompt the user to specify the number of servings the recipe yields. Output the ingredients and serving size (Submit for 2 points) Note: This zylab outputs a newline after each user-input prompt. For convenience in the examples below, the user's input value is shown on the next line, but such values don't actually appear as output when the program runs. Enter amount of orange juice (in cups): Enter amount of milk (in cups): Enter amount of strawberries (in How many servings does this make? here to search library 5 CSI J UULIJ 2. Program: Smoothie Calculator (Optional) Smoothie ingredients - yields 12.0 servings 2.0 cup(s) orange juice 4.0 cup(s) milk 8.0 cup (s) strawberries (3) Prompt the user to specify the desired number of servings. Adjust the amounts of each ingredient accordingly, and then output the ingredients and serving size. (Submit for 4 points, so 6 points total). How many servings would you like to make ? Smoothie ingredients - yields 48.0 servings 8.0 cup(s) orange juice 16.0 cup (s) milk 32.0 cup (s) strawberries (4) Convert the ingredient measurements from step (2) into gallons. Output the ingredients and serving size. Note: There are 16 cups in a gallon. (Submit for 2 points, so 8 points total) Smoothie ingredients - yields 48.0 servings 0.5 gallon(s) orange juice 1.0 gallon (s) milk 2.0 gallon (s) strawberries LAB e to search

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions