Open the Command Prompt/Terminal Change the current directory to the folder that has proj2.cpp Run the command "g++ -o ./proj2 ./proj2.cpp" to compile the file Run the command "./proj2" to start the program Input the value for Lambda, K, L, and M to get the results.
For the printed masterclock, since there is no specific instruction, I am using the added-up masterclock value of 30 times.
Jiacheng Yang(jyang31)