write a qbasic program to display numeric series using looping statements.
a) 1 22 333 4444 55555
Answers
Answered by
1
class abc
{
public static void solve()
{
for(int i=1;i<=5;i++)
{
for(int j=1;j<=i;j++)
{
System.out.print(i);
}
System.out.println();
}
}
}
Similar questions