Project is about recursion.
- Tested on Ubuntu 20.04 LTS
All of the following files are programs written in C:
Filename | Description |
---|---|
0-puts_recursion.c | Prints a string |
1-print_rev_recursion.c | Prints a string in reverse |
2-strlen_recursion.c | Returns the length of a string |
3-factorial.c | Returns the factorial of a given number |
4-pow_recursion.c | Returns the value of x raised to the power of y |
5-sqrt_recursion.c | Returns the natural sqaure root of a number |
6-is_prime_number.c | Returns 1 if the input integer is a prime number, otherwise return 0 |
s 7-is_palindrome.c | Returns 1 if a string is a palindrome and 0 if not |
100-wildcmp.c | Compares two strings and returns 1 if the strings can be considered identical. Otherwise, returns 0 |