← All problemsSign in

Canteen Accountant

People purchase food all throughout the day at the canteen. And it becomes difficult to keep track of all the purchases. To counter this, the owners decided to write every purchase and expenditure in a book. But even this becomes tedious because of thousands of purchases happening every day. Now the canteen owners are asking for your help to design a simple app to make note of purchases and exp

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