if(r<=n/2){
nst–;
nsp=+2;
}
else{
nst++;
nsp=-2;
}
//when r=4 then a/c tp program * will be printed
Analyze the program
What’s your doubt ??
if(r<=n/2){
nst–;
nsp=+2;
}
else{
nst++;
nsp=-2;
}
//when r=4 then a/c tp program * will be printed
What’s your doubt ??