Click here to Skip to main content
14,335,481 members
Rate this:
Please Sign up or sign in to vote.
See more:
A match box contain 50 sticks. write an algorithm (using basic constructs of dequence, selection and repreation) to compute the match boxes required to create an NxN matrix.
Posted
Updated 28-Jan-10 0:48am
v2
Rate this:
Please Sign up or sign in to vote.

Solution 1

We don't do your homework / exam for you.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

No. Honestly, how do you expect to learn anything if you get other people to do your stuff for you?
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

What is your trouble with it?
Couldn't you figure the algorithm?
:)
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100