Write a program to replace every element with the greatest element on right side Scrshot Output:Enter the numbers: 16 17 4 3 5 2[17, 17,…
Write a program to replace every element with the greatest element on right side Scrshot Output:Enter the numbers: 16 17 4 3 5 2[17, 17,…