摘要: include <bits/stdc++.h> using namespace std; int main( ) { char a; cin >> a; cout << " " << a << endl; cout << " " << a << a << a << endl; cout << a < 阅读全文
posted @ 2024-10-19 14:58 浩瀚宇宙星晨 阅读(6) 评论(0) 推荐(0) 编辑
摘要: include <bits/stdc++.h> using namespace std; int main( ) { char a; cin >> a; cout << char(a-32); return 0; } // 反思1: cin >> a; 忘记写了 反思2: +是转为小写字母-是转为大 阅读全文
posted @ 2024-10-19 14:56 浩瀚宇宙星晨 阅读(5) 评论(0) 推荐(0) 编辑