3 Replies - 1291 Views - Last Post: 14 May 2010 - 02:03 PM Rate Topic: -----

#1 naturephoenix  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 11-April 10

All possible combinations!

Posted 14 May 2010 - 10:03 AM

Hey guys,I know it's not nice to ask for favour if i havent done anything before....but what can i do,i realy have no clue have to make this.

OK there is my problem:
I want to make program which makes all possible word-combinations with max 3 charachters in one word using only 'a','b' and 'c': So this would be result->
a,b,c,aa,ab,ac,bb,ba,bc,cc,ca,cb,aaa,aab,aac,aba,a bb,abc, aca,acb,acc,baa,bab,bac...and so on(there is lots of combinations)!!!
I hope u get it what do I mean.

Is This A Good Question/Topic? 0
  • +

Replies To: All possible combinations!

#2 Oler1s  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1395
  • View blog
  • Posts: 3,884
  • Joined: 04-June 09

Re: All possible combinations!

Posted 14 May 2010 - 10:36 AM

Quote

Hey guys,I know it's not nice to ask for favour if i havent done anything before
It's not about being nice or not. It's about the rules. We will not help you cheat. That attitude is codified in the forum rules, and there's a big red box when you post that says this. Did you not read the big red box? Or were you hoping it wouldn't apply to you?

Quote

but what can i do
You can try to learn. Or you can fail. But we won't help you cheat.
Was This Post Helpful? 0
  • +
  • -

#3 IngeniousHax  Icon User is offline

  • |>|20-514<|{3|2

Reputation: 78
  • View blog
  • Posts: 1,358
  • Joined: 28-March 09

Re: All possible combinations!

Posted 14 May 2010 - 11:27 AM

start with an array and some for loops.
Was This Post Helpful? 0
  • +
  • -

#4 eker676  Icon User is offline

  • Software Engineer
  • member icon

Reputation: 378
  • View blog
  • Posts: 1,833
  • Joined: 18-April 09

Re: All possible combinations!

Posted 14 May 2010 - 02:03 PM

http://www.dreaminco..._1&#entry763859
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1