Challenge overview
Hello and welcome to the challenge!
You are creating an application for bill sharing with your team. Fortunately you are a junior developer and your first task is quite simple. You should write a function which formats the list of names so that they are separated with commas and "&
" sign at the end.
Input
S
- a string containing given names separated with spaces
Output
- humanized version of names list
Constraints
0 <= length of S <= 1000
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:
Did you like this challenge and would like to try your hand at some interesting big programming competitions? Check what’s all over the news in tech world in July 2019 in our article with upcoming IT Conferences, Hackathons and Online Challenges in July 2019.
Have fun and good luck! :)