Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: manu124
Forum: C Dec 18th, 2006
Replies: 7
Views: 3,750
Posted By manu124
Thanks so much for your replies:

Infarction, actually, i just wrote a sample code that i was trying.
So, sorry for the typos, yes its <10 instead of <12.

# If the sum gets over 1 before i...
Forum: C Dec 18th, 2006
Replies: 7
Views: 3,750
Posted By manu124
Sorry, forgot to add my code as per the rules.

And also, missed one part, i want inverse of the sum of random numbers which is less than 1 but greater than 0.75
such as :
sum = 1/23+1/32......
Forum: C Dec 18th, 2006
Replies: 7
Views: 3,750
Posted By manu124
Hi,
Would really appreciate if someone can help me.

Need to generate 10 random numbers such that their sum is less than 1.

thanks so much in advance
manu
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC