June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -1,11 +1,10 @@
|
|||
myCompare :: Integer -> Integer -> String
|
||||
myCompare a b
|
||||
| a < b = "A is less than B"
|
||||
| a > b = "A is greater than B"
|
||||
| a == b = "A equals B"
|
||||
|
||||
main = do
|
||||
a' <- getLine
|
||||
b' <- getLine
|
||||
let { a :: Integer; a = read a' }
|
||||
let { b :: Integer; b = read b' }
|
||||
a <- readLn
|
||||
b <- readLn
|
||||
putStrLn $ myCompare a b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue