can anyone tell me how to write a programme to print numbers in following fashion

1
0 1
1 0 1
0 1 0 1
1 0 1 0 1

post the code what ever you have done so far.

I think I just had daja vu.

commented: Heh, it happens a lot ;) +36
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.