solve question please.
Attachments:
Answers
Answered by
0
Answer:
public class KboatPattern
{
public void displayPattern() {
int a = 1;
for (int i = 1; i <= 5; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(a++ + "\t");
}
System.out.println();
}
}
}
Explanation:
Answered by
0
ok please wait ....okkkkkkkkkk
Similar questions