Lemonade The code provided will make the computer ask you to enter an INTEGER

Lemonade
The code provided will make the computer ask you to enter an INTEGER (if not, the code will crash) representing the number of cups of lemonade you want to make. Your input will be saved in the integer named ‘cups’. Using the recipe provided, namely,

Recipe:
10 cups of lemonade require:
> 7 cups of water
> 2 cups of lemon juice
> 1 cup of sugar

write the necessary code to print–EXACTLY AS SHOWN BELOW–the amount of each ingredient necessary to produce the number of cups of lemonade requested. For example, if you enter 15 (i.e., 15 cups of lemonade), the program must print

For 15 cup(s) of lemonade you will need
– 10.5 cup(s) of water
– 3.0 cup(s) of lemon juice
– 1.5 cup(s) of sugar
Final note:
Please make sure you do not touch the code provided and, if you know what that means, please DO NOT close the Scanner as this would create issues for the test code.

Complete Answer:

Get Instant Help in Homework Asap
Get Instant Help in Homework Asap
Calculate your paper price
Pages (550 words)
Approximate price: -
Open chat
1
Hello 👋
Thank you for choosing our assignment help service!
How can I help you?