Write a program in Pascal for calculating the resistance of an electrical circuit consisting of 2 parallel-connected

Write a program in Pascal for calculating the resistance of an electrical circuit consisting of 2 parallel-connected resistances. (The value of the first resistance is 15 ohms of the second resistance is 20 ohms)

The program is written in Pascal:
Program test;
var y, x: integer;
begin
x: = 15;
y: = 20;
writeln (‘Resistance:’ + ((x * y) / (x + y)) + ‘Ohm’);
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.