Challenge - Capitalize each first letter in word 🏅 Example: Input: hello world Output: Hello World | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Challenge - Capitalize each first letter in word 🏅 Example: Input: hello world Output: Hello World

2nd Dec 2017, 3:45 PM
VARUN KUMAR PADALA
VARUN KUMAR PADALA - avatar
6 Answers
+ 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
2nd Dec 2017, 6:30 PM
Ipang
+ 5
My function is so basic: i used string => to char => first to UpperCase https://code.sololearn.com/cfz1Z5ntU41D/?ref=app
2nd Dec 2017, 6:19 PM
abdulazizumarovich
abdulazizumarovich - avatar
+ 5
https://code.sololearn.com/cLq3egNWlF53/?ref=app
2nd Dec 2017, 8:55 PM
...
2nd Dec 2017, 3:46 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
https://code.sololearn.com/cBp9D1Fl2Z9E/?ref=app
3rd Dec 2017, 11:19 AM
Cuttek
Cuttek - avatar
2nd Mar 2018, 7:23 PM
UnknownYmous