怎么用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~ 别的我也不会,嘿嘿 ^ ^
推荐
猜你喜欢
- turn on the light switch.
- 一个六边形,每个角都相等,每个内角的度数为多少?
- 1n/c㎡=多少斤
- 2009^2-2008 ^2+2007^2-2006^2+.+2^2-1^2
- f(x)=2x^2-4x,x属于[0,3]
- 跨过光滑的定滑轮的细线两端各系住物体A和B,已知两物体的质量分别是Ma=0.1kg,Mb=0.3kg,开始时将A用手按住在地面上,放手后发现A能升起的最大高度为0.9,问B物原来离地面的高度h等于多少?
- 画CAD图形时鼠标移动的距离好像被限制了,而我要选的某点在鼠标最小移动距离的中间,怎么也选不中,
- 有关相对分子质量的计算