We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
int count=1; // count=1 for min 1 word
for(int i = 0;i <s.size();i++){ // loop lessthan size
if(s[i] < 'a') //if less than lowescase than count++
count++;
}
return count;
}
Cookie support is required to access HackerRank
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 →
my cpp solution for this programme
int camelcase(string s) {
}