Open In App

Puzzle 22 | (Maximum Chocolates)

Last Updated : 19 Jan, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report
You have 15 Rs with you. You go to a shop and shopkeeper tells you price as 1 Rs per chocolate. He also tells you that you can get a chocolate in return of 3 wrappers. How many maximum chocolates you can eat?           Answer: 22 Buy and eat 15 chocolates Return 15 wrappers and get 5 more chocolates. Return 3 wrappers, get 1 chocolate and eat it (keep 2 wrappers) Now we have 3 wrappers. Return 3 and get 1 more chocolate. So total chocolates = 15 + 5 + 1 + 1 Program for Chocolate and Wrapper Puzzle       More Interview Puzzles



Next Article

Similar Reads