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]
3 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]3 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
What is stress corrosion cracking?
aksik [14]

Answer:

The growth of crack formation in a corrosive environment.

Explanation:

6 0
3 years ago
Discuss the impact of the changing urban center. Include the impacts on political, economic, and social roles and opportunities.
KengaRu [80]

Answer:

The 21st century world have been earmarked with great influx of people to the urban centre,the notion of gender equality and female education have also made most traditional roles in the family changing.Before now,wives we're known for their full independence on their husband who is considered the bread winner.

Inspite of the growth of of the urban centre the availability of resources have dwindled,resulting in the surge of unemployment in many urban centre,the political entity of the society which is the government have serious challenging in managing the various threat posed by overpopulation, unemployment results in the decrease of standard of living of person and family,to cater for this family have to change their roles,wives now work to support the husband.

Explanation:

6 0
3 years ago
How do Consumers sometimes interact with a producers?
Vika [28.1K]
I really don’t know good luck
7 0
3 years ago
2. What is an important aspect of the American free enterprise system that encourages people to
rusak2 [61]
Have a positive mindset and attitude
7 0
3 years ago
Read 2 more answers
what is an example of an innovative solution to an engineering problem? Explain briefly why you chose this answer.
Leviafan [203]

Answer:

robotic technology    

Explanation:

Innovation is nothing but the use of various things such as ideas, products, people to build up a solution for the benefit of the human. It can be any product or any solution which is new and can solve people's problems.

Innovation solution makes use of technology to provide and dispatch new solutions or services which is a combination of both technology and ideas.

One such example of an innovative solution we can see is the use of "Robots" in medical science or in any military operations or rescue operation.

Sometimes it is difficult for humans to do everything or go to everywhere. Thus scientist and engineers have developed many advance robots or machines using new ideas and technology to find solutions to these problems.

Using innovations and technologies, one can find solutions to many problems which is difficult for the peoples. Robots can be used in any surveillance operation or in places of radioactive surrounding where there is a danger of humans to get exposed to such threats. They are also used in medical sciences to operate and support the patient.  

3 0
3 years ago
Other questions:
  • Set oWMP = CreateObject("WMPlayer.OCX.7?) Set colCDROMs = oWMP.CdromCollection do if colCDROMs.Count >= 1 then For i = 0 to c
    14·1 answer
  • How to go about the designing of a multirange voltmeter​
    8·1 answer
  • The specific gravity of a substance that has mass of 10 kg and occupies a volume of 0.02 m^3 is a) 0.5 b) 1.5 c) 2.5 d) 3.5 e) n
    11·1 answer
  • Is there a way to get the answers to a NCCER book test?
    7·1 answer
  • An intranet is a restricted network that relies on Internet technologies to provide an Internet-like environment within the comp
    11·1 answer
  • What is the theoretical density in g/cm3 for Lead [Pb]?
    13·1 answer
  • Air is compressed isothermally from 13 psia and 55°F to 80 psia in a reversible steady-flow device. Calculate the work required,
    14·1 answer
  • A jet aircraft is in level flight at an altitude of 30,000 ft with an airspeed of 500 ft/s. The aircraft has a gross weight of 1
    11·1 answer
  • your friend's parents are worried about going over their budget for th month. Which expense would you suggest is NOT a need?
    9·1 answer
  • For heat transfer purposes, a standing man can be mod-eled as a 30-cm-diameter, 170-cm-long vertical cylinderwith both the top a
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!