1 2 3 4 5 6 7 8 9 10 11 12
begin main function int i = 0 int count while i < 10 print i and add one to i for count = 0, count less than 10, count +1 print count end main function