#include <iostream>
using namespace std;
int main() {
double ans = 1;
for (int i = 1; i <= 10; ++i)
ans *= (i * (2.0 * i + 10.0)) / (i + 10.0);
cout << fixed << ans;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
using namespace std;
int main() {
double ans = 1;
for (int i = 1; i <= 10; ++i)
ans *= (i * (2.0 * i + 10.0)) / (i + 10.0);
cout << fixed << ans;
}