将字符串中的小写字母转化为大写字母
#include <bits/stdc++.h>
using namespace std;
string str;
int main(){
ios::sync_with_stdio(0);
cin>>str;
for(int i = 0; i < str.length() ;i++){
if(str[i] >= 'a' && str[i] <= 'z') {
str[i] = str[i] - 32;
}
}
cout<<str<<endl;
return 0;
}