generated from admin/template
add repository c
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
const long long x = 5;
|
||||
long long factorial = 1;
|
||||
|
||||
for (long long i = 1; i <= x; ++i) {
|
||||
factorial *= i;
|
||||
}
|
||||
|
||||
printf("%lld! = %lld\n", x, factorial);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user