P 4 30p Write Recursive Function Counts Number Times Integer 1 Occurs Array Integers Funct Q43860226

P. 4 (30p) Write a recursive function that counts the number of times the integer 1 occurs in an array of integers. Your function should have as arguments the array and the number of elements in the array. Show transcribed image text P. 4 (30p) Write a recursive function that counts the number of times the integer 1 occurs in an array of integers. Your function should have as arguments the array and the number of elements in the array.
Expert Answer
Answer to P. 4 (30p) Write a recursive function that counts the number of times the integer 1 occurs in an array of integers. Your…
OR