Please code in C++. Answers will be liked!
3. Noisy Channel (25 points) Write a function that models a noisy channel. It takes as input the original 7-bit hamming message. Using a random number generator, it randomly selects one of the 7 positions to flip For example, if the original message is 0110011, the noisy channel randomly flips bit 3 causing the new message to become 0100011. As output, the function should return both the flipped message and the bit that was flipped (3 in this case)