Jump to content
  • Advertisement
Sign in to follow this  
samhg

Probability/Combination program help needed.

This topic is 4190 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am trying to build probability/combination program in Vb .NET. This program should do: The user will input or enter the entire or part of the English alphabet. The program will also ask for the number of maximum digits the user wants the alphabet to be combined with. And than the program announces all possible digit alphabet values that can be arranged from the amount of entered English alphabet values (Which is a maximum of 26 letters) For example: The user enters all 26 letters of the possible English Alphabet. And then he/she enters the maximum letters combination. such as (in a calculator this would look like) (nPr) n=total number of possible letters P=probability r=maximum digits lets pretend there are only 6 letters in the English Alphabet and the user wants to see the possible 2 letter combinations from the total of 6. The user will enter a b c d e f and enter 2 for the maximum value. aka

(6P2) The user should see this list: aa ab ac ad ae af ba bb bc bd be bf ca cb cc cd ce cf da db dc dd de df ea eb ec ed ee ef Total Number of : 30 possible combinations so the user will see all the possibilities and the calculated number. same thing will apply to 6P3 12P8 26P9 26P4 etc... I have to do this for a computer project but don't even know where to begin any help is greatly appreciated and I am even willing to pay. Plz help, I have to get this done with in 3 days. You can post here or aim = dab33r msn = manager@enhanced-graphics.com

Share this post


Link to post
Share on other sites
Advertisement
Some moderator should delete/lock this post and refer the poster to some thread with rules regarding homework assignments.

Share this post


Link to post
Share on other sites
Quote:
Original post by samhg
It is not a homework.


Quote:
Original post by samhg
I have to do this for a computer project but don't even know where to begin any help is greatly appreciated and I am even willing to pay. Plz help, I have to get this done with in 3 days.


With all fair dues, it certainly sounds like one. :-) Explain what you mean by a 'computer project' and why you have a deadline of 3 days, and you'll likely get better responses.

Share this post


Link to post
Share on other sites

This topic is 4190 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!