From 7eb146fa7c234175bc6ec17c5d0ef71ccf7baaa8 Mon Sep 17 00:00:00 2001 From: tafaar Date: Tue, 11 Oct 2022 18:52:47 -0700 Subject: answered 7 --- CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 3 +++ 1 file changed, 3 insertions(+) (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 cfdfd94..a255b4b 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -14,6 +14,9 @@ * 6) Step over the cout statement. * 7) Why didn't the flow of the program return back to the while * statement? +* +* Improper ; placement, also i was not less than 0. +* * 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