hiii
if i havehow can i get :Code:int A[4]={1,2,3,4}
1
1,2
1,2,3
1,2,3,4
2
2,3
2,3,4
3
3,4
i need 2 or 3 loops??? if you can write in code it's will be nice thnx!!
Printable View
hiii
if i havehow can i get :Code:int A[4]={1,2,3,4}
1
1,2
1,2,3
1,2,3,4
2
2,3
2,3,4
3
3,4
i need 2 or 3 loops??? if you can write in code it's will be nice thnx!!
So you have
- one loop to decide where to start
- one loop inside it to decide how many to print.