Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

javaprograms

Ads

 
 

Share on Google+Share on Google+

k.jahangir kumar
javaprograms
0 Answer(s)      5 years and 9 months ago
Posted in : Java Beginners

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

Ads
View Answers
Ads