Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main ()
- {
- long n,i=1,E=1;
- cout<<"n=";cin>>n;
- while (i<=n)
- {
- E*=(2*i-1);
- i++;
- }
- cout<<"E="<<E;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement