Write a program that uses three one-dimensional arrays and inputs 20 values in 1st array and differentiates even and odd values.
Write a program that uses three one-dimensional arrays and inputs 20 values in 1st array and differentiates even and odd values. It stores even values in 2nd array and odd values into 3rd array. The program should display the values of 2nd and 3rd array into two columns with heading EVEN and ODD. So let’s…