This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
main
RosettaCodeData
/
Task
/
Factorial
/
EasyLang
/
factorial.easy
7 lines
87 B
Text
Raw
Permalink
Normal View
History
Unescape
Escape
Data update
2023-09-16 17:28:03 -07:00
func factorial n .
r = 1
Data update
2025-06-11 20:16:52 -04:00
for i = 2 to n : r *= i
Data update
2023-09-16 17:28:03 -07:00
return r
Initial data commit
2023-07-01 11:58:00 -04:00
.
Data update
2023-09-16 17:28:03 -07:00
print factorial 7
Reference in a new issue
Copy permalink