F# program to calculate the area and circumference of a circle
Program.fs
Output
kodingwindow@kw:~/fsharp$ dotnet run ——————————————————————————————————————————— Program to calculate the area and circumference of a circle ——————————————————————————————————————————— Enter the radius of a circle 10 The area of a circle is 314.159265 The circumference of a circle is 62.831853 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
F# Control Statements
Advertisement