+ 6
Challenge - Capitalize each first letter in word 🏅 Example: Input: hello world Output: Hello World
6 Réponses
+ 7
My proposal in C++, you can see usage example by submitting with no input. It requires 2 inputs in Code Playground input dialog:
String to process
Conversion mode (1-6)
For capitalizing each word use 1 for conversion mode.
https://code.sololearn.com/cM3qp41znqpZ/?ref=app
+ 5
My function is so basic: i used string => to char => first to UpperCase
https://code.sololearn.com/cfz1Z5ntU41D/?ref=app
+ 5
https://code.sololearn.com/cLq3egNWlF53/?ref=app
+ 3
https://code.sololearn.com/cBp9D1Fl2Z9E/?ref=app
+ 1
My code in js.
https://code.sololearn.com/W76osMaMBu3M/?ref=app