wap to print the following 9
999
99999
99999999
Answers
Answered by
2
Answer:
public class Pattern9 {
public static void main(String[] args) {
int rows = 9;
for(int i = 1; i <= rows; ++i) {
for(int j = 1; j <= i; ++j) {
System.out.print(j + " ");
}
System.out.println();
}
}
}
Explanation:
Answered by
0
Answer:
public class pattern 9
Similar questions
Computer Science,
4 months ago
English,
4 months ago
Chemistry,
9 months ago
Math,
1 year ago
Math,
1 year ago