Write a program that asks for a numeric code and prints out a character.

Write a program that asks for a numeric code and prints out a character. which corresponds to it, as well as the character that follows this character

program zz1;
var a: integer; // set a variable of integer type
begin
write (‘enter numeric code’); // enter a number from the keyboard
read (a);
writeln (‘the character that matches the entered numeric code =’, chr (a)); // display one answer
writeln (‘the character that follows the entered =’, chr (a + 1)); // print another 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.