0

Write an application

Write an application (script) that can solve puzzle stated: Charlie once visited chocolate factory to buy some chocolates.Chocolate cost Rs. 3 each and he had only Rs. 45.He was disappointed. He wanted more. But when he reached the factory he was amazed. There was a scheme on that special day. If you return 3 wrappers of the chocolate you will get one chocolate for free. So how many chocolates can he buy?

18th Aug 2017, 8:51 AM
Vamsi Krishna Reddy
Vamsi Krishna Reddy - avatar
1 Antwort
0
nah, one nice person has posted this question a half years ago
18th Aug 2017, 9:59 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar