What's the problem with last case? https://toph.co/p/alayna-and-strings

// Online C++ compiler to run C++ program online
#include
using namespace std;
int len_count(const char* str){
int count=0;
while(str[count]!=‘\0’){
count++;
}
return count;
}
int upper_count(const char* str){
int result = 0;
for(int i=0; i<len_count(str); i++){
if(str[i]>=‘A’ and str[i]<=‘Z’){
result++;
}
}
return result;

}
int lower_count(const char* str){
int result = 0;
for(int i=0; i<len_count(str); i++){
if(str[i]>=‘a’ and str[i]<=‘z’){
result++;
}
}
return result;

}

int main(){
char string[107];
cin >> string;
if(string[0]==‘\0’){
cout << 0 << ’ '<< 0;
}
else{
int upper = upper_count(string);
int lower = lower_count(string);
cout << upper << ’ '<< lower << endl;
}

}