Computer Science, asked by AlankarShaw, 13 hours ago

Write a program which takes a string terminated by a full stop. The words in this string are assumed to be separated by one blank. Arrange the words of the input string in descending order of their length. (Bluej)

Answers

Answered by shamayelrahman0786
4

Answer:

Perform the following tasks:

a) Check for the validity of the accepted sentence only for the terminating character.

b) Arrange the words in ascending order of their length. If two or more words have the same length, then sort them alphabetically.

c) Display the original sentence along with the converted sentence.

Test your program for the following data and some random data

Explanation:

please make me Brainlist and also like me

Similar questions