Skip to content

Latest commit

 

History

History

0x08-recursion

0x08. C - Recursion

Description

What you should learn from this project:

  • What is recursion
  • How to implement recursion
  • In what situations you should implement recursion
  • In what situations you shouldn’t implement recursion

  • Write a function that prints a string, followed by a new line.
  • Write a function that prints a string in reverse.
  • Write a function that returns the length of a string.
  • Write a function that returns the factorial of a given number.
  • Write a function that returns the value of x raised to the power of y.
  • Write a function that returns the natural square root of a number.
  • Write a function that returns 1 if the input integer is a prime number, otherwise return 0.
  • Write a function that returns 1 if a string is a palindrome and 0 if not.
  • Write a function that compares two strings and returns 1 if the strings can be considered identical, otherwise return 0.

Author