// Write a program that copies the data in the // input file to an output file so that it is // formatted the same in both files. // // Additionally add 30 to the year when you rewrite // it to the output file to help Marty Mcfly get back to // his proper time. // add appropriate preprocessor directive #include using namespace std; int main() { // declaring variables string firstName; string lastName; int year; // declare input file stream varaible and open file // *** Make sure your file name is "input.txt" *** ifstream fin; fin.open("input.txt"); // declare output file stream varaible and open file ofstream fout; fout.open("flux_capacitor.txt"); // write your code here // closing files fin.close(); fout.close(); return 0; }