// a, b, va c butun sonlarni olish
int a, b, c;
std::cout << "a ni kiriting: ";
std::cin >> a;
std::cout << "b ni kiriting: ";
std::cin >> b;
std::cout << "c ni kiriting: ";
std::cin >> c;
// Tengsizlikni tekshirish va ularni ikkilantirish yoki modullari bilan almashtirish
if (c < b && b < a) {
a = a * 2;
b = b * 2;
c = c * 2;
} else {
a = std::abs(a);
b = std::abs(b);
c = std::abs(c);
}
for (int i = 1; i <= n; ++i) {
factorial *= i;
S += 1.0 / factorial;
}
}
int main() {
// n butun soni olish
int n,s;
std::cout << "n (butun son, n > 0) ni kiriting: ";
std::cin >> n;
// Yig'indini hisoblash
s=asfa(n);
// Natijani chiqarish
std::cout << std::fixed << std::setprecision(6); // Natija uchun 6 ta belgi ko'rsatish
std::cout << "Yig'indi: " << s << std::endl;