As a beginner computer science student, please excuse my limited knowledge of the field.
Initially, we learned how to perform the following basic binary arithmetic manually.
How to do addition with binary numbers
How to do subtraction with binary numbers
However, even as a novice programmer, I realized that the methods we learned by hand are challenging to translate into computer code algorithms example. Maybe this is just a personal perception.
Later, we studied 2's complement, which made things a bit easier (e.g., negative numbers were simpler to implement and subtraction was now just the addition of negative numbers).
My question is, was there a way to perform all arithmetic operations (multiplication, division, addition, and subtraction) without using 2's complement? Or was the invention of 2's complement solely for this purpose? This is a purely pedagogical exercise.