AS3 implementation of factorial calculation
2016-08-23
0 0 0
no vote
Other
Earn points
Implement factorial calculation ...
function numberFactorial(n:Number):Number {
var a:Number=1;
var b:Number;
if (n<=0) {
trace("Please entry a positive integer!!");
//break;
} else {
for (var i:Number=1; i<=n; i++) {
a*=i;
}
b=a;
actionscript
Related Source Codes
RGP game character 45 degree map+A star routing al
0
0
no vote
[Contributed] Red Movie World - Personal Mall Sour
0
0
no vote
WhyNotWin11
0
0
no vote
as3 tuio
0
0
no vote
Set Color with row mouse select
0
0
no vote
No comment