Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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.

Comment on Re: Two dimentional array

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://390258]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2015-11-30 01:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (755 votes), past polls