← All problemsSign in

Joey and Number of Days

Joey is quite a greedy guy.His father decided to give him pocket money from his 17th birthday.He decided to start from X rupees and increases the amount he gets that by 1 rupees everyday. Joey is smart, so to increase his pocket money he goes to a Central bank which has a unique pocket money scheme where on every deposition the new amount becomes added amount times the previous amount there in his

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start