#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv) {
int vet[5], fat[5], i;
for (i = 0; i < 5; i++) {
printf("Digite um numero:\n"); }
for (i = 0; i < 5; i++) {
for (fat[i] = 1; vet[i] > 1; vet[i]--) {
fat[i] *= vet[i];
}
}
//system("pause");
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCmludCBtYWluKGludCBhcmdjLCBjaGFyKiogYXJndikgewogICAgaW50IHZldFs1XSwgZmF0WzVdLCBpOwogICAgZm9yIChpID0gMDsgaSA8IDU7IGkrKykgewogICAgICAgIHByaW50ZigiRGlnaXRlIHVtIG51bWVybzpcbiIpOwogICAgICAgIHNjYW5mKCIlZCIsICZ2ZXRbaV0pOwogICAgfQogICAgZm9yIChpID0gMDsgaSA8IDU7IGkrKykgewogICAgICAgIGZvciAoZmF0W2ldID0gMTsgdmV0W2ldID4gMTsgdmV0W2ldLS0pIHsKICAgICAgICAgICAgZmF0W2ldICo9IHZldFtpXTsKICAgICAgICB9CiAgICAgICAgcHJpbnRmKCIlZFxuIiwgZmF0W2ldKTsKICAgIH0KICAgIC8vc3lzdGVtKCJwYXVzZSIpOwogICAgcmV0dXJuIDA7Cn0=