Dj Belite

mail@pastecode.io avatar
unknown
c_cpp
a year ago
240 B
1
Indexable
Never
#include <iostream>
#include <string>
using namespace std;

int main()
{
	int a; // колво чисел
	double b=1;
	cin >> a;
	for (int i = 0; i < a; i++)
	{
		double n;
		cin >> n;
		b *= n;
	}
	cout << b;
	return 0;
}