CyberArmy University | Open Source Institute | CyberArmy Intelligence & Security | CyberArmy Services & Projects

maths (?) problem


[Replies] [Reply] [View by Thread] [Help]
[Back To Programming]

Posted by Ker sefo On 2008-07-30 14:00:21

Ker
Ker sefo


I have an array as int array[450] for example

I want to divide this array in groups of 15:

from array[0] to array[14] is group 1
array[15] to array[29] is group 2 ...etc.

What would be the formula to check if array[x] and array[y] are in the same group or not?


Replies:


Guest:
Subject:
Message:
Signature:
Optional Image Link:
http://

CyberArmy::Forum v0.6
Generated In 0.00456 seconds


About Us | Privacy Policy | Mission Statement | Help