|
-
June 18th, 2011, 12:10 AM
#1
C++
#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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|