Monday, December 10, 2007

How to nested for loop

How to nested for loop

To nested for loop.

#include

main ( )

{int x,y;

for (x=1 ; x<=5 ; x++)

{ cout<<"\n"<<<">

for (y=1 ; y<=6 ; y++)

cout <

return 0;

}

Result :


No comments: