Computer Science, asked by judmentsurpriseMF, 3 months ago

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 vijaykisan
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