1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
gregori [183]
4 years ago
5

(1) Prompt the user for the number of cups of lemon juice, water, and agave nectar needed to make lemonade. Prompt the user to s

pecify the number of servings the recipe yields. Output the ingredients and serving size. (Submit for 2 points).
Engineering
1 answer:
Lady bird [3.3K]4 years ago
6 0

Answer:

The program to this question as follows:

Program:

Lemon= float(input('Enter lemon juice value in cups: ')) #defining float variable and input value by user

Water= float(input('Enter water value in cups: ')) #defining float variable and input value by user

Agave= float(input('Enter agave nectar value in cups: ')) #defining float variable and input value by user

Serve= float(input('enter serving value: '))  #defining float variable and input value by user

print ('Lemonade ingredients - yields',Serve,'servings',) #print value

print (Lemon,'cups in lemon juice',) #print value

print (Water,'cups in water',) #print value

print (Agave,'cups in agave nectar',) #print value

Output:

Enter lemon juice value in cups: 2

Enter water value in cups: 3

Enter agave nectar value in cups: 2

enter serving value: 2

Lemonade ingredients - yields 2.0 servings

2.0 cups in lemon juice

3.0 cups in water

2.0 cups in agave nectar

Explanation:

In the above python code, four float variable "Lemon, Water, Agave, and Serve" is defined, which is the input function is used.  

  • The input function message is written that passes in function parameter, that accepts value in the above variables.  
  • In the next step, the print function is used, which prints the above user input values.
You might be interested in
El protozoos es del reino protista?
iogann1982 [59]

Answer: Si (Yes)

Explanation:

3 0
3 years ago
Read 2 more answers
An exit sign must be:Colored in a way that doesn’t attract attentionIlluminated by a reliable light sourceAt least 3 inches tall
Ksenya-84 [330]

Answer:

Red

Explanation:

5 0
3 years ago
ABS system is necessary?
Monica [59]

Explanation:

I think it helps you

I don't know the answer sorry

3 0
3 years ago
What is one major life lesson you learned from the movie; ¨Spare Parts¨
allochka39001 [22]

Answer:

darts,” a smart, creative and highly-enjoyable drama about a team of intelligent, hard-working and ambitious high school students who enter a prestigious robotics competition, and their dedicated science teacher who mentors, educates, pushes and inspires them, is a rousing, uplifting, spirited–and excellent–film and a great start to the new film

6 0
3 years ago
Read 2 more answers
A piston-cylinder device contains an ideal gas mixture of 3 kmol of He gas and 7 kmol of Ar gas (both gases are monatomic) at 27
lidiya [134]

Answer:

Q = 62    ( since we are instructed not to include the units in the answer)

Explanation:

Given that:

n_{HCl} = 3 \ kmol\\n_{Ar} = 7 \ k mol

T_1 = 27^0 \ C = ( 27+273)K =  300 K

P_1 = 200 \ kPa

Q = ???

Now the gas expands at constant pressure until its volume doubles

i.e if V_1 = x\\V_2 = 2V_1

Using Charles Law; since pressure is constant

V \alpha T

\frac{V_2}{V_1}  =\frac{T_2}{T_1}

\frac{2V_1}{V_1}  =\frac{T_2}{300}

T_2 = 300*2\\T_2 = 600

mass of He =number of moles of He × molecular weight of He

mass of He = 3 kg  × 4

mass of He = 12 kg

mass of Ar =number of moles of Ar × molecular weight of Ar

mass of He = 7 kg  × 40

mass of He = 280 kg

Now; the amount of  Heat  Q transferred = m_{He}Cp_{He} \delta T  + m_{Ar}Cp_{Ar} \delta T

From gas table

Cp_{He} = 5.9 \ kJ/Kg/K\\Cp_{Ar}  = 0.5203 \  kJ/Kg/K

∴ Q = 12*5.19*10^3(600-300)+280*0.5203*10^3(600-300)

Q = 62.389 *10^6

Q = 62 MJ

Q = 62    ( since we are instructed not to include the units in the answer)

5 0
4 years ago
Read 2 more answers
Other questions:
  • Air enters a compressor operating at steady state at 176.4 lbf/in.^2, 260°F with a volumetric flow rate of 424 ft^3/min and exit
    10·1 answer
  • Write a statement that increases numPeople by 5. Ex: If numPeople is initially 10, the output is: There are 15 people.
    11·1 answer
  • The ventilating fan of the bathroom of a building has a volume flow rate of 32 L/s and runs continuously. If the density of air
    7·1 answer
  • Which one of the following activities is not exempt from licensure pursuant to Chapter 471, F.S.? A person practicing engineerin
    5·1 answer
  • The website of a bank that an organization does business with has been reported as untrusted by the organization's web browser.
    12·1 answer
  • Could I please get help with this​
    11·1 answer
  • 1. A hydro facility operates with an elevation difference of 50 m and a flow rate of 500 m3/s. If the rotational speed is 90 RPM
    12·1 answer
  • How do all the cars work to move?
    9·2 answers
  • In a typical American building, most modern lighting systems must use what voltage?
    12·1 answer
  • You insert a dielectric into an air-filled capacitor. How does this affect the energy stored in the capacitor?.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!