jak_zlowic

rybe
mail@pastecode.io avatar
unknown
haskell
2 years ago
388 B
1
Indexable
Never
jak_zlowic :: [Char] -> IO()
jak_zlowic x = if x == "okon"
                 then putStrLn "Okonia mozna zlowic za pomoca robaka w Jeziorze ..."
                else if x == "plotka" 
                 then putStrLn "Plotke mozna zlowic za pomoca innej ryby w Jeziorze..."
                else putStrLn "Brak danych"

main = do
  jak_zlowic "okon"
  jak_zlowic "plotka"
  jak_zlowic "krab"