Factorial without the use of command.
5 views (last 30 days)
Show older comments
function y = fact(x)
y = x;
while x
end
2 Comments
Stephen23
on 12 Sep 2017
@Mubarak Abdulla: this is not twitter, so do not put ugly and pointless # characters onto every tag. Today I changed them for you, but in future you can remember that the entire world does not consist of twitter.
Answers (1)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!