Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Factorial (iterative)
atm-irbis
May 27th, 2012
4,799
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Icon
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
procedure
main
(
)
local
a
,
b
a
:=
read
(
)
b
:=
factorial
(
a
)
write
(
b
)
end
procedure
factorial
(
n
)
local
p
,
i
p
:=
1
every
i
:=
1
to
n
do
{
p
:=
p
*
i
}
return
p
end
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐⭐ Exploit 500$ in 10 minutes ⭐⭐
JavaScript | 46 sec ago | 0.22 KB
GMAIL Logs (2FA disabled)
Java | 2 min ago | 0.18 KB
🚨 Trading exploit 💎 🚨 ✅
JavaScript | 3 min ago | 0.18 KB
⭐⭐ Crypto Swap Glitch ✅ Easy money ⭐⭐
JavaScript | 3 min ago | 0.22 KB
🚨 Trading exploit 💎 🚨 ✅
Java | 3 min ago | 0.14 KB
🔥 EASY PROFIT GUIDE ✅ Working 🔥 📌
JavaScript | 4 min ago | 0.22 KB
Crypto Accounts
Java | 4 min ago | 0.14 KB
💎 Instant Money Method 💎 🚨 ⭐
JavaScript | 5 min ago | 0.18 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!