Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Two dimentional array

by svsingh (Priest)
on Sep 11, 2004 at 12:03 UTC ( #390258=note: print w/replies, xml ) Need Help??


in reply to Two dimentional array

This seems like homework, so I'll be vague. Try doing this with three for loops. The outermost loop interates through the As and the innermost loop iterates over the Cs.

There's probably a better (more effecient) way to do this, but until I've had some coffee, this is what's coming to mind. You may also want to try the Permute modules on CPAN.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://390258]
help
Chatterbox?
[marto]: good morning all

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2016-12-06 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.