subject

Write a rotate() function that takes two parameters, a string intended to be one upper-case a-z letter and an integer, and returns a string. *the returned string should be the *input letter rotated by the number of positions specified by the integer argument*. (the romans of caesar's time only used what today we call upper-case letters.) so a call to rotate("c", 1) should return (return not print) the string "d" and a call to rotate("d", -1) should return the string "c". rotation should "wrap around" the end of the alphabet, so rotate("z", 3) should return "c".

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
According to alisa miller foreign news bureaus
Answers: 3
question
Computers and Technology, 22.06.2019 15:00
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 20:30
What are some settings you can control when formatting columns?
Answers: 1
You know the right answer?
Write a rotate() function that takes two parameters, a string intended to be one upper-case a-z lett...
Questions
question
Computers and Technology, 04.08.2019 09:10
question
Mathematics, 04.08.2019 09:10
question
Geography, 04.08.2019 09:20
Questions on the website: 13722362