This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
main = do putStrLn "Enter Your Name : " name <- getLine putStrLn ("Hello " ++ name)
$ ghc Sample.hs $ ./Sample Enter Your Name : Krishna Hello Krishna
No comments:
Post a Comment