summaryrefslogtreecommitdiff
path: root/week_1/review_program/textbook.cc
diff options
context:
space:
mode:
Diffstat (limited to 'week_1/review_program/textbook.cc')
-rw-r--r--week_1/review_program/textbook.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/week_1/review_program/textbook.cc b/week_1/review_program/textbook.cc
index 6eeee7c..c5caffb 100644
--- a/week_1/review_program/textbook.cc
+++ b/week_1/review_program/textbook.cc
@@ -43,8 +43,8 @@ auto Textbook::print() const -> void {
<< this->_single_copy_price
<< "\nInventory: " << this->_number_on_hand
<< "\nEnrollment: " << this->_prospective_enrollment
- << "\nRequired: " << this->_required << "\nUsed: " << this->_used
- << std::endl;
+ << "\nRequired: " << (this->_required ? "Yes" : "No")
+ << "\nUsed: " << (this->_used ? "Yes" : "No") << std::endl;
}
auto Textbook::evaluate_needs() -> void {