how to Input: "SwetaSingh Sadhana RamKendrinath Singh"Output:SwetaSingh :Sadhana :RamKedrinath:Singh :Find the largest word and add a semicolon after every word. Here RamKedrinath has the largest length, so semicolon is added after every word equivalent to the length of the largest word count.
how to Input:
ReplyDelete"SwetaSingh Sadhana RamKendrinath Singh"
Output:
SwetaSingh :
Sadhana :
RamKedrinath:
Singh :
Find the largest word and add a semicolon after every word. Here RamKedrinath has the largest length, so semicolon is added after every word equivalent to the length of the largest word count.