首页 > 数学 > 题目详情
while循环语句的意思?do{yes_no=getch();}while(yes_no!='Y'&&yes_no!='N');}while(yes_no!='Y'||yes_no!='N');}
题目内容:
while循环语句的意思?
do{ yes_no=getch(); }while(yes_no!='Y'&&yes_no!='N'); }while(yes_no!='Y'||yes_no!='N'); }优质解答
do{ yes_no=getch(); }while(yes_no!='Y'&&yes_no!='N'); /* 不停地循环,直到读到大写字母Y或N才退出 */ } /* 这个括号可是不匹配啊 */while(yes_no!='Y'||yes_no!='N'); /...
do{ yes_no=getch(); }while(yes_no!='Y'&&yes_no!='N'); }while(yes_no!='Y'||yes_no!='N'); }
优质解答
本题链接: