answersLogoWhite

0

Implement this method:

public static void makeTriangle(int limit) {

int count = 0;

for(int i = 1; i <= limit; i++) {

count = i;

while(count > 0) {

System.out.print(i);

count--;

}

System.out.println();

}

}

User Avatar

Wiki User

15y ago

What else can I help you with?