Modify the following operations into a recursive procedure. void ditui(int n){ int i; i=n; } while(i>1) print(i--);

icon
Related questions
Question
Modify the following operations into a recursive procedure.
void ditui(int n) {
int i;
i=n;
}
while(i>1)
print(i--);
Transcribed Image Text:Modify the following operations into a recursive procedure. void ditui(int n) { int i; i=n; } while(i>1) print(i--);
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer