F# program to Multiply two numbers using Functions
Program
open System
let multiply a b = a * b
Console.Write("Enter the first number:\t")
let first = Int32.Parse(Console.ReadLine())
Console.Write("Enter the second number:\t")
let second = Int32.Parse(Console.ReadLine())
// Function multiply is called
let product = multiply first second;
Console.WriteLine("Product of two numbers is:\t{0}" ,product)
Output
Enter the first number: 45
Enter the second number: 30
Product of two numbers is: 1350