quá dễ
uses crt;
var m,n,i,t,dem:integer;
begin
clrscr;
write('m='); readln(m);
write('n='); readln(n);
t:=0;
dem:=0;
if m<n then
begin
for i:=m to n do
if (i mod 2=1) and (i mod 5=0) then
begin
t:=t+i;
inc(dem);
end;
end;
writeln('tong cac so le chia het cho 5 trong khoang tu ',m,' den ',n,' la: ',t);
writeln('so luong so le chia het cho 5 trong khoang tu ',m,' den ',n,' la: ',dem);
readln;
end.