first commit
This commit is contained in:
4
ended/C05-corr/ex00/ft_iterative_factorial.c
Normal file
4
ended/C05-corr/ex00/ft_iterative_factorial.c
Normal file
@ -0,0 +1,4 @@
|
||||
int main(void)
|
||||
{
|
||||
printf("%d", ft_iterative_factorial(126));
|
||||
}
|
4
ended/C05-corr/ex01/ft_recursive_factorial.c
Normal file
4
ended/C05-corr/ex01/ft_recursive_factorial.c
Normal file
@ -0,0 +1,4 @@
|
||||
int main(void)
|
||||
{
|
||||
printf("%d", ft_recursive_factorial(126));
|
||||
}
|
5
ended/C05-corr/ex02/ft_iterative_power.c
Normal file
5
ended/C05-corr/ex02/ft_iterative_power.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
printf("%d", ft_iterative_power(2, 2));
|
||||
}
|
5
ended/C05-corr/ex03/ft_recursive_power.c
Normal file
5
ended/C05-corr/ex03/ft_recursive_power.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
printf("%d", ft_recursive_power(5, 2));
|
||||
}
|
5
ended/C05-corr/ex04/ft_fibonacci.c
Normal file
5
ended/C05-corr/ex04/ft_fibonacci.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
printf("%d", ft_fibonacci(14));
|
||||
}
|
5
ended/C05-corr/ex05/ft_sqrt.c
Normal file
5
ended/C05-corr/ex05/ft_sqrt.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
{
|
||||
printf("%d", ft_sqrt(8));
|
||||
}
|
6
ended/C05-corr/ex06/ft_is_prime.c
Normal file
6
ended/C05-corr/ex06/ft_is_prime.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
printf("%d", ft_is_prime(12));
|
||||
}
|
||||
|
5
ended/C05-corr/ex07/ft_find_next_prime.c
Normal file
5
ended/C05-corr/ex07/ft_find_next_prime.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
printf("%d", ft_find_next_prime(5));
|
||||
}
|
Reference in New Issue
Block a user