Program to display required items of a sentence
Searching for program to display sentence related items? Find solutions to your query on this page.
Write a program in java to accept any sentence and display all the palindromic words of the sentence and also display sum of those words whose sum of the ASCII value of the letters of the word is a prime number. A number is said to be prime number if it is divisible by 1 and the number itself.
Can you provide the program?