From 2140c31b33ecca8fd55730cb640d8f39a558515a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 24 May 2022 21:04:24 -0700 Subject: format(platypus): grammar --- platypus/platypus.cpp | 2 +- platypus/testPlatypus.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/platypus/platypus.cpp b/platypus/platypus.cpp index 5dcc66a..0c8f834 100644 --- a/platypus/platypus.cpp +++ b/platypus/platypus.cpp @@ -88,7 +88,7 @@ Platypus Platypus::hatch() const { std::ifstream namesFile; std::vector names; - // If the platypus is is male, pick a random male name; ... + // If the platypus is male, pick a random male name; ... if (newGender) { namesFile.open("mnames.txt"); } else { diff --git a/platypus/testPlatypus.cpp b/platypus/testPlatypus.cpp index 7085545..f5bed83 100644 --- a/platypus/testPlatypus.cpp +++ b/platypus/testPlatypus.cpp @@ -41,7 +41,6 @@ int main() { p1.eat(); cout << "Platypus #1 weight after eating: " << p1.getWeight() << endl; - cout << "\nPlatypus #1 before aging: " << p1.getAge() << ", old mutant status: " << p1.getMutant() << ", old alive status: " << p1.getAlive() << endl; -- cgit v1.2.3