#include <iostream>
#include <string>
using namespace std;
int main()
{
char s;
printf("请输入A~Z或a~z之间的大写字母\n");
while(1)
{
cin>>s;
if((s>=65&&s<=90)||((s>=97)&&(s<=122)))
{
cout<<toupper(s)-64<<endl;
}
else
{
printf("请输入A~Z或a~z之间的大写字母\n");
}
printf("请输入A~Z或a~z之间的大写字母\n");
}
system("pause");
return 0;
}