print 10 to 99 using recurion in java
Answers
Answered by
2
Answer:
we take a look at this problem carefully, we can see that the idea of “loop” is to track some counter value e.g. “i=0” till “i <= 100". So if we aren't allowed to use loop, how else can be track something in C language!
Well, one possibility is the use of ‘recursion’ provided we use the terminating condition carefully. Here is a solution that prints numbers using recursion.
hope this help you like me and follow me also mark me as brainly please
Similar questions