here is an example of what im thinking. I want to get my program to add two binary string(8-bit 2's complement) number and after show the result like this.
Enter your 1st binary number: 00001111
Enter your 2nd binary number: 00001011
Then I will output the following:
ur 1st binary number is 15
and ur 2nd binary is 11
15 + 11 = 26
26 in binary is 00011010
____________________________
But saying all that, i cant get my program to add or subtract binary string(numbers). Can someone please help me.
2007-09-30
08:53:44
·
3 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design