--Compute for Rectangular Area main = do putStr $ "Length: " len <- getLine putStr $ "Width: " wid <- getLine putStr $ getArea len wid getArea a b = a * b
ERROR file:{Hugs}\packages\bin\RecArea.hs:2 - Unresolved top-level overloading *** Binding : main *** Outstanding context : Num [Char]
read
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)