From 246222737f0ba131f54d49f94dd3cc6cde28d899 Mon Sep 17 00:00:00 2001 From: Taylor Rogers Date: Tue, 11 Oct 2022 08:16:13 -0700 Subject: Answer E1 Q7 --- CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp | 5 +++++ 1 file changed, 5 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 53e4a61..5b029d2 100644 --- a/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp +++ b/CST116-Ch8-Debugging/CST116-Ch8-Debugging.cpp @@ -1,5 +1,7 @@ /******************************************************************** * File: CST116-Ch8-Debugging.cpp +* +* Name: Taylor Rogers * * General Instructions: Complete each step before proceeding to the * next. @@ -14,6 +16,9 @@ * 6) Step over the cout statement. * 7) Why didn't the flow of the program return back to the while * statement? +* +* Because of the semicolon closing while +* * 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