>DansTonCode();

Citation de code source en C++306

 11 July 2016 à 01:30
// FUUU computer, it works well on my head!
#include <stdio.h>

int main()
{
    int n, factorial, i;
    scanf("%d", &n);
    factorial = 1;
    for(i = 2; i <= n; i++); // LOL
    {
      factorial = factorial * i;
    }
    printf("your factorial is: %d\n", factorial);
    return 0;
}

Allez voir les citations similaires

Partagez cette citation