How can i make this kind of out put
0
2 // even
1 // odd
4
3
6
5
8
Type: Posts; User: Bambee
How can i make this kind of out put
0
2 // even
1 // odd
4
3
6
5
8
class Alternate
{
public static void main(Strin args [])
{
int x=0;
do
{
System.out.println(x); x+=1;
do {System.out.println(x); x+=2;}