Suppose, you are working as Software Engineer at Whatsapp. Whatsapp development team has decided to encrypt the message of user texts. And you have to do the task. The encryption algorithm is to encrypt the uppercase/lowercase letter to its next letter. For example, If the input is ‘a’ output will be ‘b’. If the input is ‘B’ output will be ‘C’. For other characters from ‘c’ or ’C’ to ‘y’ or ’Y’, output will also be the very next letter. But in case of ‘z’ or ‘Z’, output will be ‘a’ or ‘A’ respectively. You will take a string as input and encrypt the string.
Travel March 6, 20190
Whether you’re brand new to the rewards points game, or looking to…