Hello guys i have one question here i was trying to generate a table and i used nested do while loops my main reason to use do while is to get an out put of the numbers from 1 to 9 at this way
123
456
789
when i tried do while loops i got a result like this
1
2
3
4
5
6
8
9
my code is like this
class test
{
public void static main (String args [])
{
int i = 1;
do { System.out.println (i);
i ++
}while (i <10);
}
}
thank you

