Паскаль?
Uses crt; var a,b,i:integer; pr:longint; begin readln(a,b); pr:=1; for i:=a to b do pr:=pr*i; writeln(pr); end.