Код
#include <iostream>
using namespace std;
int main()
{
setlocale(0,"Russian");
int e_elements;
int number;
int buffer,b;
while(true)
{
buffer=1;
number=1;
cout<<"Количество элементов: ";
cin>>e_elements;
for(e_elements; e_elements>0; e_elements--)
{
cout<<number<<" элемент: ";
cin>>b;
buffer=buffer*b;
number++;
}
cout<<"Result: "<<buffer<<'\n';
}
return 0;
}
есть замечания?