Write a program that calculates the value of the function y = x-24

program zz1;

var x, y: integer; // set variables of integer type

begin

write (‘enter the original value x’); // enter the original value x from the keyboard

read (x);

y: = x -24; // the function is calculated by the formula

write (‘received function value =’, y); // display the answer

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.