program velocity_calculator;var ab,t,h: real;begin
writeln('Enter AB');
readln(ab);
writeln('Enter H');
readln(h);
writeln('Enter T');
readln(t);
writeln('Velocity of object A is: ',(ab/t + ab/h)/2:0:2);
writeln('Velocity of object B is: ',(ab/t - ab/h)/2:0:2);
readln();end.// from Nightf4ll wth luv