Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- using System.Text;
- using System.Text.RegularExpressions;
- using System.Globalization;
- using System.Numerics;
- namespace fundamental14
- {
- class MainClass
- {
- public static void Main()
- {
- int n = int.Parse(Console.ReadLine());
- BigInteger f = 1;
- for (int i = 2; i <= n; i++)
- {
- f *= i;
- }
- Console.WriteLine(f);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement