Skip to content

Commit

Permalink
yarnpkg#1 | Solution for solve me first in Haskell
Browse files Browse the repository at this point in the history
  • Loading branch information
harshtheworkman committed Oct 13, 2017
1 parent a8b5375 commit e5a89b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 1 - Introduction/1 - Solve me first/solve_me_first.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
solveMeFirst a b = a + b

main = do
val1 <- readLn :: IO Int
val2 <- readLn :: IO Int
let sum = solveMeFirst val1 val2
print sum

0 comments on commit e5a89b1

Please sign in to comment.