first commit
This commit is contained in:
21
ended/C07-corr/ex02/ft_ultimate_range.c
Normal file
21
ended/C07-corr/ex02/ft_ultimate_range.c
Normal file
@ -0,0 +1,21 @@
|
||||
#include <stdio.h>
|
||||
int main ()
|
||||
{
|
||||
int max;
|
||||
int min;
|
||||
int *tab;
|
||||
int size;
|
||||
int j;
|
||||
|
||||
min = 12;
|
||||
max = 15;
|
||||
size = max-min;
|
||||
j = ft_ultimate_range(&tab, min, max);
|
||||
int i = 0;
|
||||
while (i < size)
|
||||
{
|
||||
printf("%d\n", tab[i]);
|
||||
printf("%d", j);
|
||||
i++;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user