+ 1
Could i get examples of nested for statements?
4 ответов
+ 10
for(int i=1;i<=10;i=i+2)
{
for(int j=1;j<=i;j++)
System.out.print("*");
System.out.println();
}
output:
*
***
*****
*******
*********
+ 1
if it is possible could i get a little more complicated one? 😁
0
thx for the link appreciate it 👌