Open In App
Related Articles

Puzzle 22 | (Maximum Chocolates)

Improve Article
Save Article
Like Article

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

This article is contributed by Rishabh. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above

Last Updated : 19 Jan, 2023
Like Article
Save Article
Similar Reads