#include <iostream>
#include <string>
using namespace std;
int main(){
string str = "Gregory";
int k = 0;
for (k=0; str[k]!='\0';k++){
if (str[k]>=65 && str[k]<=90)
{
str[k]+=32;
}
}
cout << str << endl;
}
is this code right