create int i and set to be 0;
create int count;
while i < 10, print i, increment the value of i by one and create a new line;
print i and create a new line;
set count to be 0;
while count is less than 10, print count and create a new line then increment the value of count by 1;
print count and create a new line;
end;