Tuesday, 24 March 2015

How find Runing product in C++ Programming

Running  in C++   #include<istream.h> int main() { int num; int product=1; cout<<"please enter five integer to fin... thumbnail 1 summary

Running  in C++


 


#include<istream.h>
int main()
{
int num;
int product=1;
cout<<"please enter five integer to find its product"<<endl;
for(int a=1;a<6;a++)
{
cin>>num;
product=product*num;
};
cout<<"the product is"<<endl;
cout<<product<<endl;
system("pause");
return 0;
};