Skip to content

Commit

Permalink
docs: Update instructions.md with additional example
Browse files Browse the repository at this point in the history
fixes #678
  • Loading branch information
vaeng committed Oct 8, 2024
1 parent 144f347 commit 8032bae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions exercises/concept/making-the-grade/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ round_down_scores(student_scores)
// => {90, 40, 55, 70, 30, 25, 80, 95, 38, 40}
```
There are other methods which achieve the same result, but a _cast_ is a common sight.
```cpp
int new_PI{static_cast<int>(3.14) + static_cast<int>(0.001592653589)};
// new_PI is 3.
```

## 2. Non-Passing Students

As you were grading the exam, you noticed some students weren't performing as well as you'd hoped.
Expand Down

0 comments on commit 8032bae

Please sign in to comment.