program count4; uses crt; {-------------------------------------------------------------------------- This program will ask the user for 2 numbers, and then count one by one from the first number to the second. by --------------------------------------------------------------------------} VAR a,x,y:integer; begin clrscr; write ('Hello! Type in a number. ---> '); readln (x); writeln; write ('Very good. Now type another number, larger than the first ---> '); readln (y); writeln; writeln; textcolor (green); a := 0; repeat a := a + 1; writeln ('Number ',a,' is ',x); x := x + 1; until x = (y + 1); readln; end.