这代码改过N次了,甚至看过题解之后还是不过,为啥
#include <iostream>
#include <cstring>
using namespace std;
int main(){
char s[10];
cin>>s;
int n=strlen(s);
int b=0;
for(int i=0;i<n;i++){
if(s[i]>='A'&&s[i]<='Z'){
b++;
}
if(s[i]>='a'&&s[i]<='z'){
b++;
}
if(s[i]>='0'&&s[i]<='9'){
b++;
}
}
cout<<b;
return 0;
}