Implement a program that reverses an array of 32-bit floating point
numbers in-place. The program should perform an in-place reversal of input.
solve function signature must remain unchangedinputInput: [1.0, 2.0, 3.0, 4.0] Output: [4.0, 3.0, 2.0, 1.0]
Input: [1.5, 2.5, 3.5] Output: [3.5, 2.5, 1.5]
N ≤ 100,000,000N = 25,000,000