C语言简单编程题[参考].pdfVIP

  • 9
  • 0
  • 约2.77万字
  • 约 47页
  • 2020-08-22 发布于福建
  • 举报
实用标准文档 题目: 1.编写一个程序,要求输入一个 ASCII 码值(比如 66 ), 然后输出相应的字符(比如输入 66 ,输出 B )。 #includestdio.h #includectype.h main() { int i, j; char c; printf( 输入一个 ASCII 码值: \n); scanf(%d, i); while(1) { if((i = 255)(i = 0)) { printf( 输出相对应的字符: \n); c=toascii(i); printf(%c\n, c); printf( 继续输入一个数: \n);

文档评论(0)

1亿VIP精品文档

相关文档