program velocity_calculation;
vardistance, time, velocity: real;
beginwriteln('Enter the distance (in meters): ');readln(distance);
writeln('Enter the time taken (in seconds): ');readln(time);
velocity := distance / time;
writeln('The velocity of the object is: ', velocity:0:2, ' m/s');end.
program velocity_calculation;
var
distance, time, velocity: real;
begin
writeln('Enter the distance (in meters): ');
readln(distance);
writeln('Enter the time taken (in seconds): ');
readln(time);
velocity := distance / time;
writeln('The velocity of the object is: ', velocity:0:2, ' m/s');
end.