explain
public class Main {
public static void main(String[] args) {
int i, j, p, q=1;
for (i=1;i<=5;i++)
{
p=q;
for (j=1;j<=i;j++)
{
System.out.print(p+" ");
p=p+2;
}
q=q+2;
System.out.println();
}
}
}
OUTPUT
1
3 5
5 7 9
7 9 11 13
9 11 13 15 17
EXPLAIN HOW
Answers
Answered by
1
Answer:
happy New year to you and your family a very happy and prosperous New year to you and your family a very happy y
Explanation:
good Morningside to be a very happy and prosperous New year to you and your family a very happy and prosperous New year to you and your family a very happy and prosperous New year to
Similar questions
Science,
1 month ago
English,
1 month ago
English,
3 months ago
Science,
3 months ago
Computer Science,
9 months ago
World Languages,
9 months ago
Economy,
9 months ago