java九九乘法表怎么反转(例程)

首页常识更新时间:2023-08-25 10:37:04

public class JiuTable {

public static void main(String[] args) {

int i = 1;

int k = 1;

for (i = 1; i <= 9; i ) {

String lang = "";

for (k = 1; k <= 9; k ) {

if (k > i) {

break;

}

lang = i "*" k "=" (i * k) "\t";

}

System.out.println(lang);

}

}

}

,
展开阅读全文
推荐内容
热门内容
热门文章

© 2007-2022 http://www.anhuiqq.cn,All Rights Reserved.