java 22
package com.shhfg.ds;public class HelloWorld02 {public static void main(String[] args) {//顺着书for (int a=1;a<=5;a++){System.out.println(a);}//逆着数for(int b=5;b>=1;b--){System.out.println(b);}//for(int c=1;c<=5;c++){System.out.println("第"+c+"游戏网络断线连接中"); 运行中:/* 1 2 3 4 5 5 4 3 2 1 第1游戏网络断线连接中 第2游戏网络断线连接中 第3游戏网络断线连接中 第4游戏网络断线连接中 第5游戏网络断线连接中*/}} }