// // Created by caleb on 3/6/24. // #ifndef MP2_CALEBFONTENOT_CLION_2DARRAYOPERATIONS_H #define MP2_CALEBFONTENOT_CLION_2DARRAYOPERATIONS_H #include #include int getTotal(std::vector arr); int getTotal(std::vector> arr); int getAverage(std::vector arr); int getAverage(std::vector> arr); int getRowTotal(std::vector> arr, int desiredRow); int getColumnTotal(std::vector> arr, int desiredColumn); int getHighestInRow(std::vector> arr, int desiredRow); int getLowestInRow(std::vector> arr, int desiredRow); int getHighestInColumn(std::vector> arr, int desiredColumn); int getLowestInColumn(std::vector> arr, int desiredColumn); std::string printVector(std::vector arr, std::vector locationVector = {-1}); std::string printVector(std::vector> arr, std::vector> locationVector = {{-1, -1}}); std::vector> random2DArray(int x, int y); #endif //MP2_CALEBFONTENOT_CLION_2DARRAYOPERATIONS_H