0

How to solve this problem.

In a basket are a number of fruits.half fruits from the basket are lemons.3 lemons make a litre of lemonade. how many liters of lemonade do you make Fruits in the bascket are input.

29th Dec 2019, 9:59 AM
Arydev
Arydev - avatar
3 odpowiedzi
+ 2
User_input // 2 // 3 Case input 6 Half are lemons -> 3 3 lemonades -> 1 litre
29th Dec 2019, 10:05 AM
Ipang
+ 1
Well start with what you know: -You have a total number of fruit -50% are lemons. -You need 3 lemons for each lemonade. -You can’t make lemondae with any less than 3 Where to start: -Divide the total number of fruit by 2 to get only lemons. -Divide that number by 3 to get the number of lemonades you can make. -Get rid of any decimal numbers as you can’t have a third of a lemondae.
29th Dec 2019, 10:29 AM
Pie
Pie - avatar
29th Dec 2019, 10:29 AM
Pattern
Pattern - avatar