just conver above code into Loops
L=5,H=2;
DO
{
L=L-1
If(L>0)
{
PRINT("LOOP") // prints 4 times
}
}WHILE(L>0)
L=0; After above code.
DO
{
H=H-1;
IF(H>0)
{
print("LOOP"); // prints 1 time
DO
{
L=L-1 // 0-1 give -1 and so on ... it will run -1 to -128 and 127 to 1 total 255 times
If(L>0)
{
PRINT("LOOP") // 255 times printed
}
}
}
So because of L= 4+255 = 259 times and Because of H=1 times.