rewrite the following using for loop
Attachments:
Answers
Answered by
2
for(int a=1,b=1;b<=a;b++;a++)
{
System.out.println(a);
System.out.println(b);
}
{
System.out.println(a);
System.out.println(b);
}
DasariJahnavi:
hey u didn't see System. out. println(b);
Similar questions