Let’s compose a program in the Pascal programming language to calculate the values of the function: y = 23 * x + 1 for integer values of x from the interval [-15.5]:
var y, x: integer;
writeln (‘Enter an integer value for the variable x from -15 to 5’);
if x <-15 or x> 5
writeln (‘The specified number does not match the specified interval’);
y: = 23 * x + 1;
writeln (‘The received value of the function at the given value of the parameter =’ y);
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.