Assignment task: Coding, Compiling, and Debugging
1. Compile the file "GoodDocsF.cpp" using the following command:
g++ -o GoodDocsF.exe GoodDocsF.cpp
2. Test by typing "GoodDocsF" and observe the output results, comparing them to the test case.
3. Open the file "GoodDocsF.cpp" in your text editor and modify the formulas as required to make the output correspond to that shown in the test case.
4. Compile the modified code and text to verify that the output now corresponds to that shown in the test case.
5. Submit your compiled program to your tutor for marking.