CSE503: Software Engineering
Lecture 10 (January 27, 1999)

David Notkin

i > 0 and j > 0

{t := i;

div := 0;

while t >= j do

div := div+1;

t := t-j;

end}

i = div*j+t and 0 <= t < j