can you please help me how to make this program?? please...


For VRC (Should all be contained in functions/methods/class)
- Inputs
> Message to be transmitted / Received Message
should be captured in an Array
(limited to letters, numbers and punctuations, as to:
period, comma, exclamation point and question mark)
> Select either Odd or Even Parity

- Process (Original Message)
> convert message characters to decimal values
> convert decimal values to binary values
> compute and append the parity bit
> update the Message Array plus a single bit as to the
parity bit used: 0 - odd PB or 1 - even PB

- Process (Received Message)
> extract the parity bit used from the message
> determine if errors has occured using the parity bit
> if no errors,
- remove the appended parity bits
- convert the binary values to decimal values
- convert the decimal values into characters
> update the Message Array

- Output
> show the transmitted bits / original message


For LRC (Should all be contained in functions/methods/class)
- Inputs
> Message to be transmitted / Received Message
should be captured in an Array
(limited to letters, numbers and punctuations, as to:
period, comma, exclamation point and question mark)
> Select either Odd or Even Parity

- Process (Original Message)
> convert message characters to decimal values
> convert decimal values to binary values
> compute and append the parity bit
> Compute and append the BCC at the end
> update the Message Array with the BCC
plus a single bit as to the parity bit used:
0 - odd PB or 1 - even PB

- Process (Received Message)
> extract the parity bit used from the message
> extract the BCC from the message
> determine if errors has occured using the BCC & parity bit
> if no errors,
- remove the BCC and the appended parity bits
- convert the binary values to decimal values
- convert the decimal values into characters
> update the Message Array

Our normal definition of "help" is that you make an effort to produce some code, then we help you with whatever it is you're stuck on.

Your definition of "help" seems to be you post your assignment and then wait for someone else to do the work.
Read the intro threads - no free homework without some effort on your part.

This article has been dead for over six months. Start a new discussion instead.