Answer:
public static void makeNumberTriangle() {
for(int i=1; i<=5; i++) {
for(int j=1; j<=i; j++) {
System.out.printf("%d ",j);
}
System.out.println();
Step-by-step explanation:
You were very close!
1.6m questions
2.0m answers