C语言实验——单个字符输入和输出(顺序结构)
Time Limit: 1000MS Memory Limit: 65536KB
Problem Description
用getchar()从键盘上输入一个字符,用putchar()打印出来!
Input
从键盘上输入一个字符!
Output
把刚刚输入的字符打印出来!
Example Input
A
Example Output
A
Hint
Author
参考代码
#include <stdio.h>
int main()
{
char ch;
ch=getchar();
putchar(ch);
return 0;
}