Challenge overview
Hello and welcome to the challenge!
Write a function which converts names to its initials. The function should receive a string with forename and surname separated with spaces and it should return first letters of these names separated with a single dot.
Examples
Adam Smith -> A.S
John Black -> J.B
You can solve this programming contest in C#, C++, Java, Ruby, JavaScript, Python, PHP and many more languages. If you want, you can also take part in other Challenges. Below you can find some of them:
Have fun and good luck! :)