← All problemsSign in

Printer fault

Archie wants to print the set of numbers in the A4 sheet for his college activity. So he types the array of size $N$ in his desktop accordingly, but the printer prints the numbers in the reverse order. Archie finds out that his printer has some amount of fault and is curious why is that happening!! So he writes some code exactly how printer is reversing the numbers!! can you do the same...? ***

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