Created
February 27, 2015 09:07
-
-
Save MiyamonY/ffb329ff841289bc8cc7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.Char | |
main :: IO () | |
main = do | |
putStrLn "What's your first name?" | |
firstName <- getLine | |
putStrLn "What's your last name?" | |
lastName <- getLine | |
let bigFirstName = map toUpper firstName | |
bigLastName = map toUpper lastName | |
putStrLn $ "hey, " ++ bigFirstName ++ " " ++ bigLastName ++ ", how are you?" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment