如何用java的for循环做一个等腰三角形?

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 08:28:20
如何用java的for循环做一个等腰三角形?

如何用java的for循环做一个等腰三角形?
如何用java的for循环做一个等腰三角形?

如何用java的for循环做一个等腰三角形?
要用三循环才可以,这个就是三角形的代码.
public class Test {
\x09public static void main(String[] args) {
\x09\x09for (int i = 1; i