From 6d7daa5102ad227d1b83e3c4a49919487e4fc653 Mon Sep 17 00:00:00 2001 From: prestonderek Date: Wed, 12 Oct 2022 13:57:18 -0700 Subject: Commit again. --- CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp index f64adfe..cad680a 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp @@ -56,7 +56,7 @@ int main() // Breakpoint 1 // Put a breakpoint on the following line - if (age = 1) + if (age == 1) //made this an equality statement rather than making age equal to 1. cout << "First Birthday" << endl; else if (age >= 12 || age <= 19) cout << "Teenager" << endl; -- cgit v1.2.3