test
This commit is contained in:
parent
1f446fbc51
commit
70635dd679
10
sort3.c
10
sort3.c
@ -10,3 +10,13 @@
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "push_swap.h"
|
||||
|
||||
void sort3(t_list *list)
|
||||
{
|
||||
if (list->nbr > list->next->nbr && list->nbr > list->next->next->nbr)
|
||||
{
|
||||
if (list->next->nbr < list->next->next->nbr)
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user