program lab_1;
var
a,b,c,d:integer;
K:real;
f: file of integer;
m: file of real;
begin
assign(f,'C:\in.txt');
assign(m,'C:\out.txt');
reset(f);
read(f,a);
read(f,b);
read(f,c);
read(f,d);
K:=(a*b*c)/d;
rewrite(m);
write(m,K);
read;
end.
в чем проблема ?