Write a program that outputs 10 random numbers less than ten?

program zz1;
var x, y: integer; // set a variable of integer type
begin
for x: = 1 to 10 do // organize a loop for ten repetitions
begin
y: = random (11); // get a random number in the range from zero to ten
write (y: 5); // output the answer to a string in the format of five characters for the whole number
end;
end.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.