Enter array of num: Enter num from the above array that will be replaced: Enter new val that will replace old val: Replace all the numbers with a specified number of a given array of integers.
Replace all the numbers with a specified number of a given array of integers.