Given an integer and compose a program for finding the value of the expression a + 5 in the numerator in the denominator

Given an integer and compose a program for finding the value of the expression a + 5 in the numerator in the denominator c-d if c = 16 d = 2 the result of the expression on the screen.

program f1;
var
a, c, d: integer;
s: real;
begin
c: = 16;
d: = 2;
read (‘Enter number a:’, a);
s: = (a + 5) / (c-d);
writeln (‘Result of expression:’, s);
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.