Define i eqaul to 0 define count while i is less than 10 display i and increment it by 1 for count equal to 0, increment count, while count is less than 10 display count