Create an algorithm that asks for a person’s age in years, and displays it in months.

There are always 12 months in one year. This means that if we have a person’s age in years, then in order to find the number of months in his age, it will be necessary to multiply the years by 12.
For such a program, we only need one variable to indicate age.
The variable must be an integer, that is, the integer type.
Since the number of months in a year is constant, we will use a constant for the number 12:
var vozrast: integer;
Next, you need to ask the user how old he is:
writeln (‘Your age:’);
readln (vozrast);
Then we multiply vozrast by 12 and count the amount:
writeln (‘Your age in months is:’, 12 * vozrast);
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.