'commit'
This commit is contained in:
10
C++课程/第十课逻辑表达式和条件表达式/p74.cpp
Normal file
10
C++课程/第十课逻辑表达式和条件表达式/p74.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
char ch;
|
||||
cin>>ch;
|
||||
ch=(ch>='A' && ch<='Z')?(ch+32):ch;
|
||||
cout<<ch<<endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user