#include<iostream>using namespace std;void main(){ char letter; cout<<"请输出一个字母"<<endl; cin>>letter; cout<<letter<<"的小写字母为 "<<(char)(letter+32)<<endl;}试一下吧