← All problemsSign in

ATM ! ATM !

Read problem carefully Sham created a bank account and recently get an ATM. When Sham buys items from the shop and then deposited some money in the bank. Sham is busy somewhere else can you help Sham to calculate his MONEY. Input: - First-line will contain an integer, shows total amount. - Second-line will contain integer , shows item buy price. - Third-line will contain integer N, shows price d

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