For example, when I put in 11(3) and 11(3), the output is 9 which is correct. However, if I put in 1010(10) and 111(7), the output is 35 when it should be 70.
--- Update ---
For example, when...
Type: Posts; User: Jpwolfe
For example, when I put in 11(3) and 11(3), the output is 9 which is correct. However, if I put in 1010(10) and 111(7), the output is 35 when it should be 70.
--- Update ---
For example, when...
I am trying to create a program that scans two numbers from the user, multiplies them, and then prints the binary result. As of now, my program can multiply binary numbers and output a decimal...