文件名称:yuesefuhuan
介绍说明--下载内容均来自于网络,请自行研究使用
1. 有十三盏灯,从第一盏开始按顺序循环数,逢五就熄掉那盏灯,试编写程序输出灯被熄灭的顺序?思考:如果灯的数目(题目的十三),开始位置(题目的一),位置间隔(题目的五)是任意输入的数字,程序该如何改动?(注意,熄灭的灯不再参加数数)-1 There are thirteen lights, in order starting from the first light cycles, every five to put out that light, try to write a program output lights are extinguished order? Reflections: If the number of lights (subject thirteen), the start position (subject a), the position interval (five questions) is an arbitrary number entered, the program, how to change? (Note that the extinguished lamp no longer participate in count)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
yuesefuhuan\1.cpp
yuesefuhuan