Need Help for Extra Credit in Math Class

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mrnibbles
Forum Newbie
Posts: 1
Joined: Thu Jan 17, 2008 10:26 pm

Need Help for Extra Credit in Math Class

Post by mrnibbles »

Although I am enrolled in a programming class at my high school next semester, I don't have any clue how to solve this. The problem is to create a code that generates all possible combinations of 211 applicants for 5 positions selected randomly. The code has to be able to actually generate the code, not just tell how many combinations there are. Any help would be greatly appreciated.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Need Help for Extra Credit in Math Class

Post by Kieran Huggins »

There was a similar question a little while ago in a thread called "loops" - it's not exactly what you're after, but it may put you on the right track.
User avatar
jimthunderbird
Forum Contributor
Posts: 147
Joined: Tue Jul 04, 2006 3:59 am
Location: San Francisco, CA

Re: Need Help for Extra Credit in Math Class

Post by jimthunderbird »

I think we should set up a special forum for "php and computer algorithm" :D
User avatar
Mordred
DevNet Resident
Posts: 1579
Joined: Sun Sep 03, 2006 5:19 am
Location: Sofia, Bulgaria

Re: Need Help for Extra Credit in Math Class

Post by Mordred »

Sorry, the "Do my homework" forum is now closed. Here is the "I did my homework, but it didn't quite work, here's what I tried" forum.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Need Help for Extra Credit in Math Class

Post by John Cartwright »

I'm tempted to lock this thread.. I suggest you follow Mordred advice.
Post Reply