Need to write an Algorithm/Code for the following problem. Its a basic probelm which can help you to build confidence.
1000
0101need to generate parity bits continuously: initially row-size and then column-size based on the given option of odd parity or even parity.
- ODD PARITY
10000
0101110000
01011
00100and so on.. for the given number of rows and columns
similarly, for even parity too.
- EVEN PARITY
10001
0101010001
01010
11011and so on..
you can discuss in the comment section below.!