You are viewing a single comment's thread. Return to all comments →
C++
int camelcase(string s) { int cnt = 1; for (int i : s) { if (isupper(i)) { cnt++; } } return cnt; }
Seems like cookies are disabled on this browser, please enable them to open this website
CamelCase
You are viewing a single comment's thread. Return to all comments →
C++