#Region Project Attributes
#ApplicationLabel: Permutations-Combination
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
Dim pclib As Permcomb
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
Log(pclib.Perm(10,2,False)) ' Permutations of 10 items for 2 times without repeating an item
Log(pclib.comb(10,4,True)) 'Combinations of 10 items for 4 times, repeating allowed
Log(pclib.fact(5)) 'factorial of 5 (5!)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub