(pseudo-code)
var element = input
if element = or < than 0;
assign 0 to element;
else subtract 1 from element;
repeat
This problem will be seen in many introductory programming classes. The task assigned is to create a program that constantly subtracts 1 from a variable until the variable reaches 0, which then causes the variable to stay at 0. If said variable started out negative or 0, it will also stay at 0.