MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply TodayFactorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6

Thus 6 factorial = factorial(720). Given n, return t, the factorial number for n.

Example: Input n = 6 Output t is 720

118 correct solutions
97 incorrect solutions

Last solution submitted on Jul 20, 2016

1 player likes this problem

2 players like this solution

2 Comments

Michael Ryan
on 14 Jan 2014

This challenge seems a little silly...

Neha
on 16 Jan 2014

this solution is silly. I think the challenge requires you to write you to write your own code, not use matlab's function

1 Comment