#include <iostream.h>
int main()
{
int max=2, i;
for(i=0; i<max; i++)
cout<<"5,1,4,2,3 ", max-i, i+1;
return 0;
}
Thank you sir, your code is great help for me.
The output that is 5,1,4,2,3,5,1,4,2,3
How can I make that output in this form: 5,1,4,2,3,3,2,4,1,5