#17403. goto语句使用I
goto语句使用I
说明
本题目要求使用goto语句。从键盘输入算式“3+2”的答案。如果结果正确,输出“zhengque”;如果结果错误输出“zaishiyici”,并重新输入结果,直到结果正确为止。输入格式
输入算式“3+2”的结果。输出格式
结果正确输出“zhengque”;结果错误输出“zaishiyici”,并提示再次输入。53+2=?
zhengque
53+2=?
zhengque
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.