Question: must use language c and recursion how do I fix this code to change the output to: 2 1 0 3 2 3 what is
must use language c and recursion
how do I fix this code to change the output to:
2
1
0
3
2
3
what is happening is that the outputs are just being added together. How to do I reset it everytime before n and k it goes through the function?
please re-write the correct code for me.
an example of what this program does is: if (n=9 and k=3) then the output should be 2 because in the range of 1-3 9 is only divisible by 1&3 so therefore only 2 numbers.

output but not what I want:

what I want:
2
1
0
3
2
3
1 2 3 4 5 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
