← Build Systems & an Intro to CMake

Fix: Grade Report

hard

This program is supposed to print a letter grade and a pass/fail line for a numeric score – and both letter_grade and passed are already correctly implemented. It just doesn’t compile, for two independent reasons, one from each of this module’s first two lessons.

Fix it one error at a time: submit, read whatever error comes back first, fix only that specific problem, then submit again. You should recognize both errors from the last two exercises – neither one requires writing new logic, only fixing how a function is declared.

Your solution

"Run" uses the sample stdin ("85"). "Submit" checks your code against all 4 test cases.

Test results

Submit your solution to run it against all test cases.

Hints

    Reference solution