Computer Science, asked by smartsakthisakthivel, 7 months ago

write an examples of recursive function?​

Answers

Answered by surykantgaikwad2104
0

Answer:

For example, Count(1) would return 2,3,4,5,6,7,8,9,10. Count(7) would return 8,9,10. The result could be used as a roundabout way to subtract the number from 10. Recursive functions are common in computer science because they allow programmers to write efficient programs using a minimal amount of code.

Answered by umangnaidu
0

Explanation:

For example, Count(1) would return 2,3,4,5,6,7,8,9,10. Count(7) would return 8,9,10. The result could be used as a roundabout way to subtract the number from 10. Recursive functions are common in computer science because they allow programmers to write efficient programs using a minimal amount of code.

hope it is helpful...

Similar questions