Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › RECURSION BASICS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Repair printParity for the inclusive range 3 to 8. Call it with wantedParity = 0 and wantedParity = 1 so that 8 is included and the two calls print 4 6 8 and 3 5 7 on separate lines in ascending order.
OUTPUT
Sample4 6 8 3 5 7
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.