Question: In program C Write a program which can accept binary numbers and certain operations to calculate the results of those operations. The user should see
In program C
Write a program which can accept binary numbers and certain operations to calculate the results of those operations. The user should see something like: Enter a 16 bit unsigned binary number: Enter operator (+, -, *, %/, > | &^E) Enter a 16 bit unsigned binary number: The answer is: Enter operator (+, -, *, %/, > | &^E) Enter a 16 bit unsigned binary number: The answer is: (this should perform the operation on the previous answer and the newly entered number) The program should continue in this manner, until E is entered as the operator. When E is entered, the program should terminate. Follow the process: List the inputs & outputs Design an algorithm to solve this problem in either pseudocode or with a flowchart (2 point extra for a good flowchart) Verify the algorithm works Write the program Test the program with a good set of inputs and demonstrate that it is working
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
