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