Discover MakerZone

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

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!

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

58 correct solutions 45 incorrect solutions
Last solution submitted on Apr 14, 2016

Solution Comments