admin@onlinelearningcenter.in (+91) 7 999 01 02 03

Print Initials of Name with Surname

Suraj Ghimire
42 Posts

WAP to accept Full Name of User and Print its Intials with Last Name.

Please donot use any split(), You can convert the Strings to character array and do the operations.

 

Input: Suraj Prasad Ghimire

Output: S P Ghimire

 

Input: Vangipurapu Venkata Sai Laxman

Output: V V S Laxman 

 

Published By : Suraj Ghimire
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Comments

Jquery Comments Plugin