#include<string>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
string s1;
cout<<"enter a string that you want to enter"<<endl;
cin>>s1;
cout<<"your old string = "<<s1<<endl;
int a=s1.size();
for(int x=0;x<a;x++){
s1[x]=s1[x]-32;
}
cout<<"your new string = "<<s1<<endl;
}
EmoticonEmoticon