Write a C++ program which reads lines from the "algebra.txt" file until EOF. Convert each line to a postfix string and write it to an output file. Evaluate the postfix string and output the result to the same text file.