Created
September 29, 2017 16:30
-
-
Save lazyakshay/40f4920e85ea717ba4ba5f49d33ff50a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
// cout << "Hello World!" << endl; | |
long long n,sum=1; | |
cin>>n; | |
for(int i=1;i<=n;i++) sum *= i; | |
cout<<sum; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment