From c32bf455b9ee5d78fe5965230820cfac89e3d791 Mon Sep 17 00:00:00 2001 From: Anibal LopezBonilla Date: Wed, 12 Oct 2022 20:43:32 -0700 Subject: Push 2 Did debugging exercise 2 --- CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp') diff --git a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp index fe1e204..b1f423e 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -14,6 +14,7 @@ * 6) Step over the cout statement. * 7) Why didn't the flow of the program return back to the while * statement? +* ANS: While statement had a colon at the end. * 8) Fix this problem by removing the ; after the while statement. * 9) Stop debugging and repeat Steps 2 – 5 to verify the correction * worked. -- cgit v1.2.3