题目内容
若运行以下程序时 ,从键盘输入 2473(表示回车 ),则下面程序的运行结果 是( ) 。#include "stdio.h"int main(){int c;while ((c=getchar())!='\n')switch (c-'2'){case 0:case 1: putchar(c+4);case 2:putchar(c+4);break;case 3:putchar(c+3);default:putchar(c+2);break;}printf("\n");return 0;}
查看答案
搜索结果不匹配?点我反馈
更多问题