Skip to content

Instantly share code, notes, and snippets.

View EVHAND's full-sized avatar
🏠
Working from home

EVHAND

🏠
Working from home
View GitHub Profile
public static int ft_blockbuster(int expense)
{
float recettes = 31000000;
float benef = 0;
int weeks = 0;
while(benef < expense)
{
benef += recettes;
recettes = recettes * 0.80f;
public static int[] ft_order_int_tab(int [] tab)
{
int stock = 0;
for (int a = 0; a < tab.Length; a++)
{
for (int b = a + 1; b < tab.Length; a++)
{
if (tab[b] < tab[a])
{
public static int[] ft_rev_square_int_tab(int[] tab)
{
int stock = 0;
for (int a = 0; a < tab.Length; a++)
{
for (int b = a + 1; b < tab.Length; b++)
{
if (tab[b] > tab[a])
{