Created
April 15, 2015 12:10
-
-
Save shigemk2/0c055de2629fd1c97847 to your computer and use it in GitHub Desktop.
This file contains 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 = 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