Question: Write a program named Lab 1 8 _ 1 B that writes a recursive method that accepts an array of integers and returns the count
Write a program named LabB that writes a recursive method that accepts an array of integers and returns the count of all numbers divisible by in the array. IN your main method, read an array of numbers from the text file InputBtxt Call the method with the array and then print the array and the method result. After you have run and tested your program with the original text file, run it again using InputCBtxt as the input file instead. Make sure it gives the correct result for both cases.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
