Ответ:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int m;
cin >> m;
double p=1.0;
for (int k=1; k<=m; k++)
p *= exp(sin(k));
cout << p;
}
Пример:
5
1.19263
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Ответ:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
int m;
cin >> m;
double p=1.0;
for (int k=1; k<=m; k++)
p *= exp(sin(k));
cout << p;
}
Пример:
5
1.19263