Computer Science, asked by AionAbhishek, 1 year ago

pls help in finding output of following program :

Attachments:

Answers

Answered by kvnmurty
6
Output: HUqTlOu
Followed by newline.

The encode function encodes a string into another by altering each character.

For characters in the even positions (starting from 0) they are replaced by characters 2 positions earlier in the ASCII table.

For characters in the odd position, it's converted into uppercase in case it's in lowercase. In case it's in upper case, its replaced by character 2 positions earlier in the ASCII table.

kvnmurty: Click on the red heart thanks above
Answered by Anonymous
0

hola,❤✨☺☺✨❤❤☺☺✨❤❤☺✨❤❤✨

Attachments:
Similar questions