Files
python/C++课程/第十课逻辑表达式和条件表达式/p74.cpp

11 lines
150 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include<iostream>
using namespace std;
int main()
{
char ch;
cin>>ch;
ch=(ch>='A' && ch<='Z')?(ch+32):ch;
cout<<ch<<endl;
return 0;
}