In this programming assignment, you will be required to write a C++ program that treats basic data types as binary numbers and performs bitwise manipulation.
Your program must work as follows:
f(x, y, z) = NOT ( (x AND y) XOR z )
and output the result in binary and decimal.
You must implement the following functions:
If each input given is not exactly 8 binary bits, your program can report an error and exit.
Turn in both you C++ source code and a Makefile that will compile the code.