mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
346 B
9 lines
346 B
use rot21::rot21; |
|
|
|
fn main() { |
|
println!("The letter \"a\" becomes: {}", rot21("a")); |
|
println!("The letter \"m\" becomes: {}", rot21("m")); |
|
println!("The word \"MISS\" becomes: {}", rot21("MISS")); |
|
println!("Your cypher wil be: {}", rot21("Testing numbers 1 2 3")); |
|
println!("Your cypher wil be: {}", rot21("rot21 works!")); |
|
}
|
|
|