Write a program to input an array of 10 elements from the user and count the number of odd numbers and display it.
Write a program to input an array of 10 elements from user and count the number of odd numbers and display it. So let’s Write Code: Let’s build logic First: Algorithm for code: Step 1: Start Step 2: Declare an array and varaiable odd. Step 3: Initialaize odd = 0; Step 4: Take inputs from…