disp('To find: factorial of a 6') facto2=2*1; facto3=3*facto2 facto4=3*facto3 facto4=4*facto3 facto5=5*facto4 facto6=6*facto5 k=8*7*factorial(6)/factorial(6); disp(k,'value of 8!/6! is:') j=12*11*10*factorial(9)/factorial(9); disp(j,'value of 12!/9! is:')