944,123 Members | Top Members by Rank

Ad:
Apr 15th, 2007
0

problem relating to c program....

Expand Post »
would you please help me on c program?
my problem is how to arrange 100 numbers randomly in 4*4 cells
how can we find the output like
cell no of particles
1 7 9 34
2 23 87
.
.
.
16 90 76 53 70
i will be grateful if u assist me on this
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
xyz329 is offline Offline
1 posts
since Apr 2007
Apr 15th, 2007
0

Re: problem relating to c program....

Use the rand() function make sure you seed it.

Then fill the 4 x 4 array with these numbers.
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in IT Professionals' Lounge Forum Timeline: Help with windowblinds.
Next Thread in IT Professionals' Lounge Forum Timeline: help me about aboput your thoughts with WTP?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC