Mode:
Duration:
1
2
3
4
5
Function fact(n:Int) As Int
If n = 0 Then Return 1
Return n * fact(n-1)
End Function
Print fact(5)Coding works best on desktop or with an external keyboard.
Function fact(n:Int) As Int
If n = 0 Then Return 1
Return n * fact(n-1)
End Function
Print fact(5)Coding works best on desktop or with an external keyboard.
Calculates factorial of a number recursively.
Function fact(n:Int) As Int
If n = 0 Then Return 1
Return n * fact(n-1)
End Function
Print fact(5)BlitzMax is a high-level, procedural programming language designed for game development and multimedia applications. It provides a simple syntax, cross-platform capabilities, and built-in support for graphics, sound, and input handling.
Origin & Creator
Created by Mark Sibly in 2001.
Industrial Note
BlitzMax is mainly used for indie game development, hobbyist projects, and small cross-platform multimedia applications, especially in the early 2000s indie scene.