Click here to Skip to main content
16,003,611 members
Home / Discussions / Algorithms
   

Algorithms

 
Questionconvert arrays of number to an integer Pin
Khodadad Pakdamans8-Apr-07 22:17
Khodadad Pakdamans8-Apr-07 22:17 
AnswerRe: convert arrays of number to an integer Pin
Luc Pattyn8-Apr-07 23:38
sitebuilderLuc Pattyn8-Apr-07 23:38 
GeneralRe: convert arrays of number to an integer Pin
cp98769-Apr-07 19:26
cp98769-Apr-07 19:26 
Questionan interesting program,please help Pin
Khodadad Pakdamans8-Apr-07 20:10
Khodadad Pakdamans8-Apr-07 20:10 
AnswerRe: an interesting program,please help Pin
cp98768-Apr-07 20:34
cp98768-Apr-07 20:34 
GeneralRe: an interesting program,please help Pin
Khodadad Pakdamans8-Apr-07 22:12
Khodadad Pakdamans8-Apr-07 22:12 
GeneralRe: an interesting program,please help Pin
DQNOK14-Apr-07 12:04
professionalDQNOK14-Apr-07 12:04 
QuestionQuadratic Rule Urgent Help needed Pin
pHysiX8-Apr-07 0:50
pHysiX8-Apr-07 0:50 
AnswerRe: Quadratic Rule Urgent Help needed Pin
cp98768-Apr-07 18:17
cp98768-Apr-07 18:17 
GeneralRe: Quadratic Rule Urgent Help needed Pin
pHysiX10-Apr-07 13:55
pHysiX10-Apr-07 13:55 
GeneralRe: Quadratic Rule Urgent Help needed Pin
BillW3324-May-07 8:01
professionalBillW3324-May-07 8:01 
QuestionFind Closest Sum of Numbers to a Given Number Pin
samv984-Apr-07 7:55
samv984-Apr-07 7:55 
AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
Luc Pattyn4-Apr-07 10:39
sitebuilderLuc Pattyn4-Apr-07 10:39 
QuestionRe: Find Closest Sum of Numbers to a Given Number Pin
David Crow4-Apr-07 10:54
David Crow4-Apr-07 10:54 
AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
Bassam Abdul-Baki5-Apr-07 3:25
professionalBassam Abdul-Baki5-Apr-07 3:25 
No you're not. What you could do is add the largest to the smallest and save it subtract 100 and save it. Stop if 0. Then use the second smallest and compare to the last result. Save the smaller one. If it becomes negative, change the largest number and keep the current smallest number. Repeat until you get two numbers that sum to less than 100 and your previous pair are the answer you're looking for.



"Oh, what a tangled web we weave, when first we practice to deceive." - Sir Walter Scott

Web - Blog - RSS - Math - LinkedIn - BM

AnswerRe: Find Closest Sum of Numbers to a Given Number Pin
samv985-Apr-07 11:48
samv985-Apr-07 11:48 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
Luc Pattyn5-Apr-07 12:31
sitebuilderLuc Pattyn5-Apr-07 12:31 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
cp98765-Apr-07 16:23
cp98765-Apr-07 16:23 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
David Crow6-Apr-07 2:39
David Crow6-Apr-07 2:39 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
cp98766-Apr-07 3:01
cp98766-Apr-07 3:01 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
David Crow6-Apr-07 3:23
David Crow6-Apr-07 3:23 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
cp98766-Apr-07 3:47
cp98766-Apr-07 3:47 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
Bassam Abdul-Baki6-Apr-07 5:52
professionalBassam Abdul-Baki6-Apr-07 5:52 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
samv986-Apr-07 6:09
samv986-Apr-07 6:09 
GeneralRe: Find Closest Sum of Numbers to a Given Number Pin
cp98768-Apr-07 21:49
cp98768-Apr-07 21:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.