#include<iostream>
using namespace std;

int main()
{
int data;

cout<<"Enter 0 to stop entering data and display product";
cout << endl;
while (data !=0)
{
cout << "Enter data:";
cin >> data;
}
system("pause");
return 0;
}

I've done it all except I need to calculate ONLY POSITIVE NUMBERS the product of them