2, 22, 222, 2222, 22222 by java using while loop
Answers
Answered by
0
Answer:
int i=1,j=1;
while( i<=5)
{
while( j<=i)
{
system.out.print("2");
j++;
}
System.out.println();
i++;
}
Similar questions