I\'m trying to swap the largest element with the smallest element in a given matrix but the program swap the wrong values.
#include int main