• + 0 comments

    my cpp solution for this programme

    int camelcase(string s) {

    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;
    

    }