How to write programme for 'M' for loops dynamically
dynamically i want to write a programme for 'M' for loops i.e. 'M' will be provided at the run time and depending on that 'M' for loops will executes.
Example:
let M=2;
then for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{
process();
}
}
can anyone help me out to solve this problem.
Its very urgent & necessery for me.
so please help me out.
Thank u.