aboutsummaryrefslogtreecommitdiff
path: root/c05/ex00
diff options
context:
space:
mode:
Diffstat (limited to 'c05/ex00')
-rw-r--r--c05/ex00/ft_iterative_factorial.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/c05/ex00/ft_iterative_factorial.c b/c05/ex00/ft_iterative_factorial.c
index 3773b9d..c8f4a35 100644
--- a/c05/ex00/ft_iterative_factorial.c
+++ b/c05/ex00/ft_iterative_factorial.c
@@ -6,14 +6,13 @@
/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/07/06 16:48:21 by cacharle #+# #+# */
-/* Updated: 2019/07/08 12:06:59 by cacharle ### ########.fr */
+/* Updated: 2019/07/08 17:22:07 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
int ft_iterative_factorial(int nb)
{
int acc;
- int i;
if (nb < 0)
return (0);