论文部分内容阅读
在中职计算机专业中,编程课应该算是最具有专业特色的课程了,但是编程课程相对枯燥,特别是有些概念,会比较难理解,尤其是其中的循环嵌套,对中职学生而言,可以说是难上加难,在对循环结构有比较好的掌握的情况下,能否把嵌套循环转换为不用嵌套的循环,当然不可能穷尽所有案例,将以3个经典的循环嵌套实例来进行转换,从易于理解程度、编写程序的趣味性这些方面简单进行比较,但愿能够起到抛砖引玉的作用。
In the secondary vocational school, the programming class should be considered the most professional courses, but the programming is relatively boring, especially some concepts, will be more difficult to understand, especially in which the cycle of nesting, vocational students, Can be said to be even harder, in the case of a better grasp of the loop structure, the nested loop can not be converted into a nested loop, of course, impossible to exhaust all the cases, will be three classic cycle embedded Set of examples to be converted, from the easy to understand, the fun of programming these simple comparison, hoping to play a valuable role.