Algorithm generates one int random array, and calculates another special array from the first one.
- User inputs size of array.
- Algorithm creates arrays A and B of this size, and populates A with generated random integers of uniform distribution within some limits.
- Array B[i] element is calculated to be multiplication of all A elements except A[i].
Calculating process ends up if product to be exceeded limits INT_MAX, INT_MIN, so suggested input limits are not wide. Algorithm processes cases when one or more zeros in A can happen.