fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. cout << "10! = " << 1*2*3*4*5*6*7*8*9*10 << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
10! = 3628800