fork download
  1. using System;
  2.  
  3. class Program
  4. {
  5. static void Main()
  6. {
  7.  
  8. Console.Write("Enter the first number: ");
  9. double num1 = Convert.ToDouble(Console.ReadLine());
  10.  
  11.  
  12. Console.Write("Enter the second number: ");
  13. double num2 = Convert.ToDouble(Console.ReadLine());
  14.  
  15.  
  16. double result = num1 * num2;
  17.  
  18.  
  19. Console.WriteLine("The multiplication is: " + result);
  20. }
  21. }
Success #stdin #stdout 0.07s 30184KB
stdin
2.5
3.5
stdout
Enter the first number: Enter the second number: The multiplication is: 8.75