Getting an errror in this code

#include
#include
using namespace std;
int main() {
string s;
cin>>s;
int c =0;
for(int i=0; i<s.length(); i++){
if(s[i] >= “A” && s[i] <= “Z”){
c++;
cout<<c;
}
}

return 0;

}

also please tell me how to proceed

@adarshsingh2k replied on your other post

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.