yoyoboyss

Untitled

Feb 25th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main(){
  6.  
  7. int E = 1, n, i = 1;
  8. cout << "n= "; cin >> n;
  9. for(i=1; i<=n; i++){
  10. E *= 3*i;
  11. }
  12. cout << "\nE= " << E;
  13.  
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment