Why z+10(b-x) > 100 will cause unsafecondition when “while loop” has been executed ntimes?
Original value of z before loop : z
Original value of b before loop : b
The value of z after nth iteration :z’
The value of b after nth iteration :b’
z’ = z+10n, b’ = b – n
Since iteration stopped, b’ = x (at least)
So, z’ = z+10(b-x)
If z’ > 100 ,then it’s unsafe.