+#include <stdlib.h>
#include <stdio.h>
-#include "macros.h"
+#include "array.h"
+#include "utils.h"
+#include "io.h"
int main() {
- printf("Hello world\n");
+ int* tab = NULL;
+ unsigned tab_size = 0;
- return 0;
+ tab = prompt_array(tab, &tab_size);
+
+ printf("%d\n", tab_size);
+
+ display_array(tab, tab_size);
+
+ sort_tab(tab, tab_size, ascending_and_odd);
+
+ display_array(tab, tab_size);
+
+ free_tab(tab);
+ exit(EXIT_SUCCESS);
}