5 lines
68 B
Haskell
5 lines
68 B
Haskell
f :: Num a => a -> a -> a
|
|
f x y = x*x + y*y
|
|
|
|
main = print (f 3 2.4)
|