Question: Write program using C You will write a program that can perform two actions for a user. The first action: encode a text message provided



Write program using C You will write a program that can perform two actions for a user. The first action: encode a text message provided by the user in an input text file and store the encoded message in a new output file. The second action: decode an encoded message provided by the user in an input text file and store the decoded message in an output text file. Your program will begin by prompting the user whether they want to encode a messsage in a file or to decode a message in a file. To do this, your program will ask the user to enter an e from the keyboard for "encode or a 'd' from the keyboard for decode. If the user enters any other character, your program repeats the prompt indefinitely Next your program will prompt the user for the name of the input file and the name for an output file. Those files are to be stored in the same directory as your executable code, so no pathname is required
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
