Question: Write a C++ program that meets the following requirements: Ask the user for the name of an input file. Read the file and notify the
Write a C++ program that meets the following requirements:
- Ask the user for the name of an input file.
- Read the file and notify the user whether the file currently conforms to even parity or odd parity.
- Give the user an option to set the file to even or odd parity.
- Update the file as needed. Note: Rather then appending a binary bit to the file you can append a full byte: 00000000 or 00000001. (Appending bits is much more challenging in C++.)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
