Need to Reverse the name by uppercase and with comma without space afer comma,
to below conduction
need to reverse name by half part like below
ALL UPPER CASE
1 to 3 words reverse one last word
3 to 5 words reverse two last word
6 words above reverse three last word
name EG ( mahesh m.k.l. ) There are 4 words
we take space and dot as one word.
EG NAME INOUT AND OUTPUT
Srinivas / SRINIVAS
srinivas m / M,SRINIVAS
srinivas m.j. / J,SRINIVAS M.
srinivas m.j.h. / J.H,SRINIVAS M.
srinivas m. j. h. k. / H. K,SRINIVAS M. J.
srinivas m. j. h. k. l. / H. K. L,SRINIVAS M. J.
Above are input and out put
EG.
need to take as it is input with reverse uppercase
Bookmarks