Code of C++ program

Can anybody send me the code of this program
Write a C++ program that displays product of all odd numbers from 31 to 75 using while loop.

#include
using namespace std;
int main()
{
int p,i;
i=31;
p=1;
while(i<=75)
{
p=p*i;
i=i+2;
}
cout<<p<<"\n";
return 0;
}