add repository c

This commit is contained in:
alim
2026-09-10 13:00:48 +03:00
parent f20db699f4
commit 2a1a257c25
8 changed files with 62 additions and 0 deletions
+13
View File
@@ -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;
}