Cody

Problem 2047. Find Factrorial without using built-in function

A number is given, you have to find the factorial of the number without using built-in factroial function.

You may use loops.

Example:

Input: 8

Output: 40320

Solution Stats

56.73% Correct | 43.27% Incorrect
Last solution submitted on Aug 25, 2016

Solution Comments

Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more