find the largest value in the array and replace it with -1 TC : enter number of elements : 6 6 5 9 9 3 9 output : 6 5 -1 -1 3 -1