Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
main = do
let var = 26
if var == 0
then putStrLn "Number is zero"
else if var `rem` 2 == 0
then putStrLn "Number is Even"
else putStrLn "Number is Odd"