F# program to perform the arithmetic operations
Program.fs
Output
kodingwindow@kw:~/fsharp$ dotnet run ——————————————————————————————————————————— Program to perform arithmetic operations ——————————————————————————————————————————— Value of a | 15.000000 Value of b | 0.000000 Value of a+b | 15.000000 Value of a-b | 15.000000 Value of a*b | 0.000000 Value of a/b | Infinity Value of a^b | 1.000000 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
F# program to perform the boolean operations
F# program to calculate the area and circumference of a circle
F# Control Statements
Advertisement