> 其他 >
怎么用java编写如下程序在屏幕上输出如下图形 * *** *** * 循环语句做(if语句)
人气:332 ℃ 时间:2020-06-26 12:40:40
解答
这个图形对吧? **** *** *你确定不是 for/while/do-while loop?if 不是循环语句吧用for loop做的:public class NestedLoop{\x09public static void main (String[] args){\x09\x09for (int i=0; i...我也不是很懂!是用Java做的吗?当然是java~ 别的我也不会,嘿嘿 ^ ^
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版