1.

Write a program to accept a string from the user and the key to rotate the letters in the string.display the string by replacing all the characters based on the key specified (using ordinalvalues).Eg: if the given input is “Gift” and the key is 2. The output string should be “Ikhv”

Answer»

EXPLANATION:

\small{\fcolorbox{red}{indigo}{\small{\fcolorbox{red}{violet}{\small{\fcolorbox{red}{pink} {\small{\fcolorbox{red}{red}{\small{\fcolorbox{red}{springgreen}{\small{\fcolorbox{red}{blue}{\small{\fcolorbox{red}{yellow} {\small{\fcolorbox{red}{azure} {\small{\fcolorbox{red}{blue}{\small{\fcolorbox{red}{orange}{\huge{\fcolorbox{red}{green}{\large{\fcolorbox{blue}{red}{{\fcolorbox{orange}{aqua}{ANSWER}}}}}}}}}}}}}}}}}}}}}}}}}}

Animal locomotion, in ethology, is any of a VARIETY of methods that ANIMALS use to MOVE from one place to another. Some modes of locomotion are self-propelled, e.g., running, swimming, JUMPING, flying, hopping, soaring and gliding



Discussion

No Comment Found