Conditional Statement in 'repeat loop'

In reply to rag123:

Yeah i did the same using if loop you tried. But I want to repeat the block exactly until coverage is 100% without mentioning any integer in the repeat block.