add system program C rep

This commit is contained in:
EgorGud
2026-09-10 12:07:36 +03:00
parent 8361f5cd8f
commit f3c3a3c164
8 changed files with 61 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;
}