Write the output of the given program: for(int j=1;j<=5;j+=2)
{
for (int k=1;k<=j;k++)
System.out.println(k);
System.out.println();
}
Answers
Answered by
1
Write the output of the given program: for(int j=1;j<=5;j+=2)
{
for (int k=1;k<=j;k++)
System.out.println(k);
System.out.println();
}
Similar questions
Social Sciences,
1 month ago
Hindi,
1 month ago
English,
1 month ago
Hindi,
3 months ago
Science,
3 months ago
Computer Science,
9 months ago
English,
9 months ago
Physics,
9 months ago