You are viewing a single comment's thread. Return to all comments →
C++
int count=1; int i=0; while(i!=s.size()) count+=isupper(s[i++])>0; cout<<count;
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++