In the source file, declare another array of circles with 6 elements. Using a looping statement to put the circles in the array a into the newly declared array by following rules:
1. The first circle in the array a goes to the first element of the new array.
2. If a circle in array a is greater than all the circles in the new array, then put this circle after the last circle in the new array, otherwise, insert this circle right in front of the first circle in the new array that is greater than or equal to this circle.
I think I am missing one small part. the array prints sorted in ascending order but it repeats a value, that repeated value is taking the place of a value that is being left out for some reason. Please help. all operators that need to be overloaded have been overloaded.