#include<stdio.h>

int main()

{

int x=4,y=0,z;

while(x>=0)

{

if(x==y){

break;}

else {printf(“\n%d%d”,x,y);}

x–;

y++;

}

return 0;

}

the ouput will be

40

31

in the first iteration x=4 and y=0 so x!=y then it prints 40

in the second iteration x=3 and y=1 here x!=y so it prints 31

in the next iteration x=2 and y=2 here x=y hence the loop terminates

thanks understood

can u suggest some matrial for loops?