sahabaj gayen
sahabaj gayen
0 Answer(s)      5 years and 7 months ago
Posted in : Java Beginners

Write a program which takes a string (maximum 80 characters terminated by a full stop. The words in this string are assumed to be separated by one or more blanks.

Arrange the words of the input string in descending order of their lenghts. Same length words should be sorted alphabetically. Each word must start with an uppercase letter and the sentence should be terminated by a full stop.

Ads

View Answers









Related Tutorials/Questions & Answers:
sahabaj gayen
sahabaj gayen  Write a program which takes a string (maximum 80 characters terminated by a full stop. The words in this string are assumed to be separated by one or more blanks. Arrange the words of the input string
Advertisements

Ads

Advertisement