Question: I am making a fraction calculator in java for school. I am trying to find the greatest common divisor using arrays but I keep getting
I am making a fraction calculator in java for school. I am trying to find the greatest common divisor using arrays but I keep getting an error telling me there is no suitable method found for add(ArrayList
//Find the greatest common divisor //Find the common factors for(int i =0; i < numFactors.size(); i++){ for(int j =0; j here is the error I am getting error: no suitable method found for add(ArrayList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
