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

New to MATLAB?

Problem 2047. Find Factrorial without using built-in function

Created by Muhammad Sarwar

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

You may use loops.


Input: 8

Output: 40320


Problem Group

Solution Statistics

48 correct solutions 18 incorrect solutions
Last solution submitted on Jun 29, 2015

Solution Comments