GoConqr has a new look! Let us know what you think.

Notes

Untitled

ronaldo fenomeno Portuguese 1 page

Content of the notes (1)

Page 1

int programa_1()

{

int n, x, y;

y = 1;

scanf("%d %d", &n, &x);

while (x > 0)

{

y = y * n;

x = x - 1;

}

printf("%d", y);

system("pause");

}

int programa_2()

{

int n, x, y;

y = 1;

scanf("%d", &x);

while (x > 0)

{

y = y * x;

x = x - 1;

}

printf("%d", y);

system("pause");

}

int programa_3()

{

const int MAX = 6;

int F[MAX];

int i;

F[0] = 1;

for (i = 1; i < MAX; i++)

F[i] = i * F[i - 1];

system("pause");

}

(FUNÇÃO PRINCIPAL)

Information

Description
Note on Untitled, created by ronaldo fenomeno on 10/10/2018.
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?