From f9fb9431ceea9323799c394f19e5770446aa08a3 Mon Sep 17 00:00:00 2001 From: Trevor Bouchillon Date: Thu, 6 Oct 2022 18:54:58 -0700 Subject: debug 2 complete --- CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp') diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp index 6fb9e1c..9db265a 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp @@ -35,7 +35,7 @@ * 5) Step over the else if. * 6) Why is the program going to print "Teenager" for an age of 25? * ************************************************************************************************************************ -* Because the compare operator is not correct. It needs to be && not ||. +* Because the compare operator is not correct. It needs to be && not ||, which is a "or" operator. * ************************************************************************************************************************ * 7) Fix the problem and repeat Steps 1 – 5 to verify the * problem was corrected. -- cgit v1.2.3