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

60.42% Correct | 39.58% Incorrect
Last solution submitted on Sep 18, 2017

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!