Assume your input box contains: 2 16 2.5 6 48 Enter amount of lemon juice (in cups): Enter amount of water (in cups): Enter amount of agave nectar (in cups): How many servings does this make? Lemonade ingredients - yields 6.0 servings 2.0 cup(s) lemon juice 16.0 cup(s) water 2.5 cup(s) agave nectar How many servings would you like to make? Lemonade ingredients - yields 48.0 servings 16.0 cup(s) lemon juice 128.0 cup(s) water 20.0 cup(s) agave nectar
Example 2: Assume your input box contains: 2 16 2.5 6 48 Enter amount of lemon juice (in cups): Enter amount of water (in cups): Enter amount of agave nectar (in cups): How many servings does this make? Lemonade ingredients - yields 6.0 servings 2.0 cup(s) lemon juice 16.0 cup(s) water 2.5 cup(s) agave nectar How many servings would you like to make? Lemonade ingredients - yields 48.0 servings 16.0 cup(s) lemon juice 128.0 cup(s) water 20.0 cup(s) agave nectar
Given that,
Assume your input box contains: 2 16 2.5 6 48
Enter the amount of lemon juice (in cups):
Enter the amount of water (in cups):
Enter the amount of agave nectar (in cups):
How many servings does this make?
Lemonade ingredients - yields 6.0 servings 2.0 cup(s) lemon juice 16.0 cup(s) water 2.5 cup(s) agave nectar
How many servings would you like to make?
Lemonade ingredients - yields 48.0 servings 16.0 cup(s) lemon juice 128.0 cup(s) water 20.0 cup(s) agave nectar
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images