Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › CONTROL FLOW
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Process 507204 with a loop. Extract and print each digit from right to left so the program prints 402705, then update the working number on every iteration.
OUTPUT
Sample402705
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.