Question: Using Java Design a DivideF1 class that derived from the Eleven class. The DivideF1 class has the following members: A constructor that pass the file
Using Java Design a DivideF1 class that derived from the Eleven class. The DivideF1 class has the following members: A constructor that pass the file name to base class. A divide method that checks whether the integer in the array can be divided by 11 using the formula below. The method will return the steps of solution and the result. 
An integer is divisible by 11 if, |x modulus 11 is equal to 0, x is the difference of the sum of all odd digits and sum of all even digits, Example 190817: x = (9+8+7) - (1+0+1) = 22, \x{ = 22, [xmodulus 11 = 0, 190817 is divisible by 11 You are not allowed to convert the integer into String, you need to use formula to get each odd and even digit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
