When I output it gives me this:
What would you like to do?
1. Addition
2. Subtraction
3. Exit
1
Enter a 4 bit binary.
0 0 1 0
Enter another 4 bit binary.
1 1 0 1 0111-858993460
Press any key to continue . . .
I'm trying to use loops to create an addition program of two 4 bit binary's that the user enters and to output a 5 bit binary that compensates for overflow, hence the 5th bit. Please no recommendations on adding other libraries, I need to create it with these loops, but I've got no idea why I get this output. Help is appreciated. Thanks.