How do you put in a prompt in to request the input file name?

558fe5180e0e8fc922d31c23ef84d240

This is what I have so far the teacher wants us to request the file name and I have no clue where to even start. Thank you for the help!

#include <iostream>
#include <string>
#include <fstream>
#include <cmath>
#include <iomanip>


using namespace std;

int main() 


   ifstream inFile;
   ofstream outFile;

   string firstName;
   string lastName;

   double currentSal;
   double payInc;

  inFile.open("Ch3_Ex5Data.txt");
  outFile.open("Ch3_Output.dat");



outFile << fixed << showpoint << setprecision(2);

inFile >> lastName >> firstName;
inFile >> currentSal >> payInc;
outFile <<  firstName << " " << lastName << " " <<  ((currentSal + currentSal * (payInc / 100)));
outFile << endl;

inFile >> lastName >> firstName;
inFile >> currentSal >> payInc;
outFile <<  firstName << " " << lastName << " " << ((currentSal + currentSal * (payInc / 100)));
outFile << endl;

inFile >> lastName >> firstName;
inFile >> currentSal >> payInc;
outFile <<  firstName << " " << lastName << " " << ((currentSal + currentSal * (payInc / 100)));
outFile << endl;



inFile.close();
outFile.close();
cin.get();


return 0;