F# program to check the given number is positive or negative
Program.fs
Output
kodingwindow@kw:~/fsharp$ dotnet run Enter the number -0 Given number is Zero kodingwindow@kw:~/fsharp$ dotnet run Enter the number -5 -5 is a negative number kodingwindow@kw:~$
Advertisement