This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.Char | |
import Data.List | |
import Text.Read | |
main = do | |
putStrLn "Number" | |
number <- getLine | |
putStrLn "Number of digits to multiply" | |
digits <- getLine | |
putStrLn $ pureMain digits number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- Performs the Ceasar cipher encryption. | |
Compile this file by running: | |
ghc ceasar.hs | |
You'll need to have ghc package installed. | |
-} | |
import Data.Char | |
main = do |