I need a C++ function to iteratively find the position of the minimum absolute value within an array. Example: input = [2, 7, -3, 5, 9, 1, 3] Expected output: 5 (1 is minimum Absolute value) Source: Windows Que..
I’m at the beginning of learning c++ and I’m understanding functions. I have a problem with an exercise. I have to use 3 functions, the first for input, the second for calculating the absolute value of the input number and the third to communicate it. Here’s what i tried. #include <iostream> #include <stdlib.h> using namespace ..