Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    so you mean abc123, or it can also be a1b2c3 ? Commented Mar 19, 2010 at 15:02
  • Here is the full questions. Generate 6 characters: the first character is randomly generated from the alphabets with odd ordering in the alphabet list (A, C, E, …, Y) the second character is randomly generated from the alphabets with even ordering in the alphabet list (B, D, F, …, Z) the third character is randomly generated from alphabet list (A to Z) each of the three digits is random generated from 1 to 9. Commented Mar 19, 2010 at 15:18
  • Please provide sample output. What strings should be generated, and what strings should not be generated? Commented Mar 19, 2010 at 15:31
  • sample output are AFZ391, EBD391, GBH491 ... :) use random method :) Commented Mar 19, 2010 at 15:36
  • sounds like homework, retagged. Commented Mar 19, 2010 at 18:37