Results 1 to 7 of 7

Thread: [2008] Letter - Number

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    20

    [2008] Letter - Number

    okay, i am trying to make a project for school and i wanted to make this program where if i type hey it will go something like this "hye"or "ehy" and keep going around through the word "hey" is there a code like that?


    PS this is just a project for school nothing more just to use in a notepad.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2008] Letter - Number

    Are you saying that you want to display every permutation of the letters or just one random permutation?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    20

    Re: [2008] Letter - Number

    Quote Originally Posted by jmcilhinney
    Are you saying that you want to display every permutation of the letters or just one random permutation?

    yeah.. i guess show me the code

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2008] Letter - Number

    Um, I asked a question and gave you two choices and your answer was "yeah". If I asked "are you male or female" what would you say? The idea is that you pick one or the other.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    20

    Re: [2008] Letter - Number

    Quote Originally Posted by jmcilhinney
    Um, I asked a question and gave you two choices and your answer was "yeah". If I asked "are you male or female" what would you say? The idea is that you pick one or the other.
    =/ first off i'm a guy and what you said about the permutation is the code i wanted thanks.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2008] Letter - Number

    Both the choices included the word permutation. Let's make it easier:

    1. All permutations
    2. A single random permutation

    Pick 1 or 2. I'm guessing 1 but I'm not going to provide code on a guess.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Jan 2009
    Posts
    20

    Re: [2008] Letter - Number

    Quote Originally Posted by jmcilhinney
    Both the choices included the word permutation. Let's make it easier:

    1. All permutations
    2. A single random permutation

    Pick 1 or 2. I'm guessing 1 but I'm not going to provide code on a guess.

    i'll take number one

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width