I have a list of numbers, say;
1, 2, 3, 4, 5
and i want to find the next biggest number to 3, obv the answer would be 4. ive tried every book i know, and MSDN, i cant find anything, is this not possible?
Thanks for you time.
I have a list of numbers, say;
1, 2, 3, 4, 5
and i want to find the next biggest number to 3, obv the answer would be 4. ive tried every book i know, and MSDN, i cant find anything, is this not possible?
Thanks for you time.
post your code that u have tried...
Well, heres one way. Your numbers must be in an array. Sort the array desending and pick the number above your chosen number,
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.