你的函数基本改好:#includevoid main(){
char ch;printf("please input your name's first letter:");putchar(ch=getchar()); //输出刚才你输入的字符 赋值给chputchar('\n');printf("Hello!\n");printf("This is a c program\n");printf("My name is %c",ch); //输出ch}...
你用个scanf函数就好啦,这是修改过的。#includeint main(){
char ch;printf("please input your name's first letter:");scanf("%c",&ch);putchar('\n');printf("Hello!\n");printf(...