Implement a console-based application. Your task is to implement a program that starts a second program. The main program should compute the execution time of the second program. The second program’s implementation is up to you.
A C++ program which accepts and measures the execution time of another C++ script.
- Open terminal and cd to the location of the main.cpp
- Compile using 'g++ main.cpp -o main.out'
- Run using './main.out'
- Enter name of external program (must be .cpp file)
- End of program
Test file must be .cpp - 'apple.cpp' file is an example test file.