Ruby while 循環用於多次迭代程序。 ... Ruby while循環在條件爲真時執行條件。 ... F:\worksp\ruby>ruby while-loop.rb Enter a value: 8 8 7 6 5 4 3 2 1 0 ...
確定! 回上一頁