从键盘输入一个大写字母,要求改用小写字母输出。
输入
A
输出
a
#include<iostream>
#include<cctype>
#include<cstdio>
using namespace std;
int main()
{
char c;
c = getchar();
// cout << (char)tolower(c) << endl;
printf("%c\n", tolower(c));
return 0;
}