[Logo] Mendo Judge Discussion Board - Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
Messages posted by: Crawler
Forum Index » Profile for Crawler » Messages posted by Crawler
Author Message
#include <iostream>
using namespace std;
int main()
{
int N, faktoriel=1;
cin>>N;
for(int a=1;a<=N;a++)
{
faktoriel*=a;
}
cout<<faktoriel<<endl;
return 0;
}
 
Forum Index » Profile for Crawler » Messages posted by Crawler
Go to:   
Powered by JForum 2.1.8 © JForum Team