// 从键盘输入BOY三个字符,然后把它们输出到屏幕 #include <stdio.h> int main() { char a,b,c; printf("请输入三个字符:"); a = getchar(); b = getchar(); c = getchar(); putchar(a); putchar(b); putchar(c); putchar('\n'); return 0; } <img src="http://img.blog.csdn.net/20150423121025807?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvemhhb3lhcWlhbjU1Mg==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" />
时间: 2024-10-09 05:42:12