javaprograms

a message is to be conveyed by adding 5 to the ASCII code of characters in the statement given below.write a program to print any given string in the coded form

sample inpu:

SANIA MIRZA IS A SENSATIONAL TENNIS STAR.

SAMPLE OUTPUT:

ORIGINAL TEXT: SANIA MIRZA IS A SENSATIONAL TENNIS STAR. ENCODED TEXT: XFSNF RNWEF NX F XISXFYNTSFQ YJSSNX XYFW

YOUR program should work for any given input string

View Answers









Related Tutorials/Questions & Answers:
Advertisements