3 short programs
As soon as possible if necessary
Normal No Spsc. Heading 1 Heading2 Tale Subtitie Subtle Em.. Emphasis Intense E. Strong raph Styles Program 1) Define an array with a maximum of 10 integer values and fill the array with numbers of your own choosing as initializers. Then write, compile, and run a C++ program that reads the numbers in the array and places all zero and positive numbers in an array named positive. Have your program display the values in positive array Test with different input numbers from display - your numbers need to be as random as possible. Program 2) Write a C/C++ program that reads the elements of the array from display. Use this 10-element array to read from display: X 12,3,10,9.6,22,5,11.23,7] First find the odd and even elements of the array. Then the odd elements of the array are stored in array OddArray and even elements of array are stored in array EvenArray Program 3) Write a CIC++ program that reads the elements of the array from display. Use this 10-element array to read from display: X [12.10,93.22.5.1 1235] Find the smallest number in this array and display it. Normal No Spsc. Heading 1 Heading2 Tale Subtitie Subtle Em.. Emphasis Intense E. Strong raph Styles Program 1) Define an array with a maximum of 10 integer values and fill the array with numbers of your own choosing as initializers. Then write, compile, and run a C++ program that reads the numbers in the array and places all zero and positive numbers in an array named positive. Have your program display the values in positive array Test with different input numbers from display - your numbers need to be as random as possible. Program 2) Write a C/C++ program that reads the elements of the array from display. Use this 10-element array to read from display: X 12,3,10,9.6,22,5,11.23,7] First find the odd and even elements of the array. Then the odd elements of the array are stored in array OddArray and even elements of array are stored in array EvenArray Program 3) Write a CIC++ program that reads the elements of the array from display. Use this 10-element array to read from display: X [12.10,93.22.5.1 1235] Find the smallest number in this array and display it