[UVA] 789 - Indexing
Input :TCONSIDER SEVERAL LINES OF TEXT AND ONE CHARCTER CALLED KEY,SPECIFIED ON A LINE PRECEDING THE TEXT. THE WORDS IN THE TEXT ARESEPARAED BY SINGLE SPACE. THERE ARE NO WORDS SPLITTED BETWEEN TWOLINES.WRITE A PROGRAM TO DISPLAY AN INDEX OF ALL WORDS WIHIN THE TEXTSTARTING WITH ...