VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Three Letter Combinations

by Anonymous (267 Submissions)
Category: Math/Dates
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Tue 1st January 2008
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Three Letter Combinations

Rate Three Letter Combinations



For I = 97 To 122
    For J = 97 To 122
        For K = 97 To 122
            List1.AddItem Chr(I) & Chr(J) & Chr(K)
        Next
    Next
Next
MsgBox Str(List1.ListCount) & " combinations generated."
' returns 17576 combinations generated.
' aaa   shows up first
' aab   shows up second
' aac   shows up third, etc.
End Sub

Download this snippet    Add to My Saved Code

Three Letter Combinations Comments

No comments have been posted about Three Letter Combinations. Why not be the first to post a comment about Three Letter Combinations.

Post your comment

Subject:
Message:
0/1000 characters