diff options
1 files changed, 2 insertions, 3 deletions
| -rw-r--r-- | Sem. 05/README.md | 5 |
diff --git a/Sem. 05/README.md b/Sem. 05/README.md index 23d1bbb..847fa48 100644 --- a/Sem. 05/README.md +++ b/Sem. 05/README.md @@ -56,10 +56,9 @@ int main() //s.grade = -1; would not compile (grade is private) - std::cout << s.getGrade(); //return a copy of the grade + std::cout << s.getGrade(); //returns a copy of the grade - s.setAge(5); //return a copy of the grade - + s.setAge(5); } ``` |
