_________________________ EXAMPLE OF OUTPUT: Menu * 1. Binary to Deci * 2. Decin
ID: 3880677 • Letter: #
Question
_________________________
EXAMPLE OF OUTPUT:
Menu * 1. Binary to Deci * 2. Decinal to Binary 3. Add two Binaries * * 4. Signed extension *5. Two's complement * 6. Grade * 7. Quit Enter your choice: 1 Enter a binary string: 1001101 Its decimal value is: -51 (the two's complement of 1001101 is 0110011 which is positive 51. So 1001101 is -51) Menu * 1. Binary to Deci * 2. Decinal to Binary * 3. Add two Binaries * 4. Signed extension 5. Two's complement * 6. Grade * 7. Quit Enter your choice: 2 Enter an integer: -51 Its binary representation is: 1111111111001101 (51 is 0110011. So -51 is 1001101. Use sign