Question: Please add on to provided code: Write a program that reads a line of text, changes each uppercase letter to lowercase, and places each letter
Please add on to provided code:
Write a program that reads a line of text, changes each uppercase letter to lowercase, and places each letter both in a queue and into a stack. The program should then verify whether the line of text is a palindrome (a set of letters or numbers that is the same whether read forward or backward). You use templates stack
pastebin of code: https://pastebin.com/PTrGYu2e
What I have so far (can only read one line of text) pastebin: https://pastebin.com/0NUX0jJ0

Input textfile:

Output:

int main() ifstream fin; ofstream fout; string fileNameI,fileNameo; const string endofData-"e nd"; cout>fileNameI>>fileName0; fin.open(fileNameI.c_str()); fout.open(fileNameo.c_str)); stack
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
