• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

打印九九乘法表

包com。陈。厘米。结构;

emo04的公共类{

公共静态void main(String[] args) {

//打印第一列

for(int I=1;I=9;i ) {

系统。出去。println(1 ' * ' I '='(1 * I));

}

系统。出去。println('============================');

//1.我们先打印第一列,这个大家应该都会

//2.我们把固定的一再用一个循环包起来

//3.去掉重复项,m=n

//4.调整样式

for(int n=1;n=9;n ) {

for(int m=1;m=n;m ) {

系统。出去。print(n ' * ' m '='(n * m)' \ t ');

}

系统。出去。println();

}

}

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now