'commit'
This commit is contained in:
16
TangDou/LuoGuBook/P5704.cpp
Normal file
16
TangDou/LuoGuBook/P5704.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
char c;
|
||||
cin >> c;
|
||||
cout << char(c - 32) << endl;
|
||||
printf("%c\n", c - 32);
|
||||
printf("%c\n", c - 'a' + 'A');
|
||||
|
||||
char ans;
|
||||
ans = c - 'a' + 'A';
|
||||
cout << ans << endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user