1. File Reverser

A program that opens a text file and reads it contents into a stack of characters. The program should then pop the characters from the stack and save them in a second text files. The order of the characters saved in the second file should be the reverse of their order in the first file.

2. File Filter

A program that opens a text file and reads it contents into a queue of characters. The program should then dequeue each character, convert it to uppercase, and store it in a second file.

These are the stack programs. You can use the same program and modify it for both but it needs to be two separate programs. The programs cannot be copied from any other known program. Written from scratch more or less.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.