Фиксация мамы нолнан с сфере IT с симпатией к атусу стоещему на полигоне

с афроо лошадьми
This commit is contained in:
SkrinVex
2026-01-20 22:04:44 +05:00
parent 024444abdb
commit 4365a50cda
45 changed files with 2941 additions and 470 deletions
+32
View File
@@ -0,0 +1,32 @@
// math_utils.fox - Математические утилиты
int add_numbers(int a, int b) {
return a + b;
}
int multiply(int x, int y) {
return x * y;
}
int max_value(int a, int b) {
if (a > b) {
return a;
}
return b;
}
int min_value(int a, int b) {
if (a < b) {
return a;
}
return b;
}
float calculate_average(int a, int b) {
return (a + b) / 2.0;
}
// Функция с подчеркиванием
int power_of_two(int n) {
return n * n;
}