var k, s, a: integer; // set variables of integer type
write (‘enter the given three-digit number’); // enter the number from the keyboard
s: = k mod 10; // get the last digit, that is, the number of ones
a: = s * 2; // double the received number of units
writeln (‘received result =’, a); // 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.