Could you please look into the logic of my Java program and help me find what's wrong in it.
Hi, I am trying to write a java code that can multiply any two numbers existing in any (one) number system(like binary, decimal, etc) and display the result in the same number system. The issue is, the code is working fine for smaller numbers and failing for larger input values. My code: https://code.sololearn.com/czSTtV3yzooX You may refer to the complete question & answer from here: https://www.pepcoding.com/resources/online-java-foundation/function-and-arrays/any_base_multiplication/topic Overview of my program: I am taking two numbers and their number system(say 2 for binary, 8 for octal, 10 for decimal systems) as inputs. In the 1main, I am extracting each digit of a number, multiplying it with the other number, and summing all my results based on the place values. In the 2nd method, I am actually multiplying the digit with the number and sending it to the main. In the 3rd method, I am summing the input values in the number system and returning the result.