Answer:
while(x>=0)
{
loop execution that manipulates x
}
Explanation:
A while loop keep iterating as long as the condition inside is true. The necessary element to remember is to make your the condition variable is altered from within the loop. Otherwise, the loop will become an infinite loop.
The condition state that as long as the variable x is greater than or equal to 0, the loop will continue. If x becomes negative, the loop will terminate.