Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please be clear on the code. thank you! This program will help users calculate quantities needed for a Sangria recipe. All the user needs to

please be clear on the code. thank you! image text in transcribed
image text in transcribed
This program will help users calculate quantities needed for a Sangria recipe. All the user needs to input is the number of servings and the type of wine they will be using. Your program does the rest. Below is the default recipe for Sangria. You must start with this. Then, based on how many servings* the user wants, you have to do the necessary calculations to figure out the new quantities for each ingredient. Sangria Recipe: 6 servings Apples: 2 cups Oranges: 1 cup Brandy: 60 ml * Orange Juice (OJ): 120 ml * Wine: 750 ml * * Serving Units: In a home kitchen, consider the (ml) unit as indivisible. A person cannot calculate, for example, what half of an (ml) is. Also consider a serving of Sangria to be indivisible (Ex: You can't have 7.5 servings).. SAMPLE OUTPUT: Enter your favorite type of red wine (Ex: Cabernet Sauvignon): cabernet Sauvignon How many servings of sangria do you need? 5 Sangria recipe using Cabernet Sauvignon for 5 servings: Wine (ml): 625 OJ (ml): 100 Brandy (ml): 50 Orange (cups): 0.83 Apples (cups): 1.67 Press Enter key to end this program

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

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

Recommended Textbook for

Climate And Environmental Database Systems

Authors: Michael Lautenschlager ,Manfred Reinke

1st Edition

1461368332, 978-1461368335

More Books

Students also viewed these Databases questions

Question

recognise typical interviewer errors and explain how to avoid them

Answered: 1 week ago

Question

identify and evaluate a range of recruitment and selection methods

Answered: 1 week ago

Question

understand the role of competencies and a competency framework

Answered: 1 week ago