RosettaCodeData/Task/Rot-13/OCaml/rot-13-3.ocaml
2023-07-01 13:44:08 -04:00

5 lines
142 B
Text

let () =
try while true do
String.iter (fun c -> print_char (rot13 c)) (read_line());
print_newline()
done with End_of_file -> ()