Accept a paragraph of text consisting of sentences that are terminated by either '.', '.', '?' '!' followed by a space. Assume that there can be a maximum of 5 sentences in a paragraph
Design a program to perform the following:
(a) Arrange the sentences in alphabetical order of words sentence by sentence
b) Separate the words which begin with a vowel
SAMPLE DATA 1:
INPUT: HELLO: HOW ARE YOU WHEN ARE YOU COMING ? HOPE TO SEE
YOU SOON
QUTPUT: HELLO! ARE HOW YOU ARE COMING WHEN YOU HOPE SEE
VOON TO YOU
VOWELS ARE
SAMPLE DATA 2:
INPUT: THE QUICK BROWN FOX JUMPED OVER THE LAZY DOG
OUTPUT: BROWN DOG FOX JUMPED LAZY OVER QUICK THE THE
VOWELS: OVER
Answers
Answered by
0
Answer:
u can see frm google...
Similar questions