Выполнены практические задания

This commit is contained in:
IliyaSomoilov
2026-09-10 11:58:01 +03:00
commit 3c8be68666
30 changed files with 715 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
unsigned long long factorial(int n) {
unsigned long long res = 1;
for (int i = 1; i <= n; ++i) {
res *= i;
}
return res;
}