From 15357aa787b55279a9b98c702d57156802b7f973 Mon Sep 17 00:00:00 2001 From: TheOtherTonyStark Date: Sun, 16 Oct 2022 14:43:17 -0700 Subject: Fifth Commit --- CST116-Ch9-Debugging/CST116-Ch9-Debugging-Chambers.cpp | 2 +- CST116-Ch9-Debugging/CST116-Ch9-Debugging-Pseudocode.txt | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Chambers.cpp b/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Chambers.cpp index ddabfe4..7ba503c 100644 --- a/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Chambers.cpp +++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Chambers.cpp @@ -87,7 +87,7 @@ int main() // Breakpoint 2 // Put breakpoint on the following line - PrintResults(age, days); + PrintResults(age, days); return age; } diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Pseudocode.txt b/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Pseudocode.txt index e69de29..a22c030 100644 --- a/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Pseudocode.txt +++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Pseudocode.txt @@ -0,0 +1,11 @@ +Set constant int for DAYS_PER_YEAR + 365 days per year +Set int for the rest of your variables + GetAge(),CalcDays(int age), age, days +Set void for Printresults +Create Main function + Set GetAge() for your main, as well as connections to later functions +Create functions for other variables + Need one for GetAge(), and CalcDays(int age) +Print result + Include statements "Boy are you old", as well giving an count of the age given in days instead. \ No newline at end of file -- cgit v1.2.3