A loop in Eiffel follows this format:
from
Init
invariant
Invariant
until
Exit
variant
Variant
loop
Body
end
How would you translate the above Eiffel pseudo-code to a language that does not support loop invariants/variants? Let's assume that such target language has an assert
instruction to check the invariant/variant.