leta:bool=trueletb:bool=falseprintfn"———————————————————————————————————————————"printfn"Program to perform boolean operations"printfn"———————————————————————————————————————————"printfn"Value of a | %b "aprintfn"Value of b | %b "bprintfn"Value of not a | %b "(nota)printfn"Value of not b | %b "(notb)printfn"Value of a && b | %b "(a&&b)printfn"Value of a || b | %b "(a||b)printfn"———————————————————————————————————————————"
Output
kodingwindow@kw:~/fsharp$ dotnet run
———————————————————————————————————————————
Program to perform boolean operations
———————————————————————————————————————————
Value of a | true
Value of b | false
Value of not a | false
Value of not b | true
Value of a && b | false
Value of a || b | true
———————————————————————————————————————————
kodingwindow@kw:~$
Dear User, Thank you for visitng Kodingwindow. If you are interested in technical articles, latest technologies, and our journey further, please follow us on LinkedIn.
Dear User, We are grateful for your interest in the Kodingwindow Android app. We intend to soon make it available on the Google Play Store. Currently, Android versions 10 and up require manual apk installations. Would you like to get the app?