Open In App

Puzzle 22 | (Maximum Chocolates)

Improve
Improve
Like Article
Like
Save
Share
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


Last Updated : 19 Jan, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads