Pascal. Display numbers that are multiples of K from the interval [A, B]. A, B, K are introduced.

program zz1;
var a, b, k, i: integer; // set variables of integer type
write (‘enter the first number’); // enter the first number from the keyboard
read (a);
write (‘enter the second number’); // enter the second number from the keyboard
read (b);
write (‘enter the third number’); // enter the third number from the keyboard
read (k);
for i: = a to b do // organize a loop in which we iterate over all the numbers from a to b
if i mod k = 0 // check the multiplicity condition
then writeln (‘number from’, a, ‘to’, b, ‘multiple’, k, ‘=’, i); // display the answer

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.