playground/haskell/hello.hs

5 lines
109 B
Haskell
Raw Normal View History

2024-02-25 07:05:53 +00:00
main = do
putStrLn "Enter your name: "
name <- getLine
putStrLn ("Hi " ++ name ++ "! Good day.")