I have to make a program that generates an array with random values < 50, finds all groups of 3 numbers whose sum is divisible by 25, and then outputs those groups of numbers in ascending order.
Problems:
1) The code does compile but sometimes generates up numbers that are > 50.
2) I can't use the <algorithm> header => tried to use bubble sort but the array just won't sort itself.