输出从用户读取的内容

#include <stdio.h>
int main()
{
   char num;
   printf(Enter a number from 0 to 9:\n);
   num = getchar();
   printf(You typed in %c!\n,num);
   return(0);
}

相关文章

for遍历数组
。。。
声明一个计数循环
咕咕咕
#include <stdio.h> int main (void) { printf (&quo...