JAVA编程:打印三角形 //打印三角形: package structure; public class TestDemo { public static void main(String[] args) { //打印三角形 5行 //可以分为三部