Question: This assignment is based on Algorithm Workbench #9, p. 32 . Write a function that receives two unsigned binary integer strings and returns a string



This assignment is based on Algorithm Workbench #9, p. 32 . Write a function that receives two unsigned binary integer strings and returns a string containing the binary difference from subtracting the second from the first. Let the first argument represent the minuend and the second the subtrahend. The strings are of arbitrary length. The result should have the same length as the minuend. A sample main function for testing your implementation is shown in Figure 1, a sample data file is shown in Figure 2, and a sample execution sequence is shown in Figure 3. To use the Makefile as distributed in class, add a target of lab06 to targets2srcfiles. Figure 1./usr/local/3304/src/lab06main.C ssssosissssssssss11000=110011001=1011110010=1010110011=10011100100=10001100101=01111100110=01101100111=010111001000=010011001001=001111001010=001011001011=000111001100=0000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
