Advertisement
RayaStark

05.MultiplyBigNumber

Mar 18th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. using System;
  2. using System.Numerics;
  3.  
  4. namespace _05.MultiplyBigNumber
  5. {
  6. class Program
  7. {
  8. static void Main(string[] args)
  9. {
  10. BigInteger bigNumber = BigInteger.Parse(Console.ReadLine());
  11. int numberToMultiplyWith = int.Parse(Console.ReadLine());
  12.  
  13. BigInteger result = bigNumber * numberToMultiplyWith;
  14. Console.WriteLine(result);
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement