From f7b5936e5a39f4ce08c9520933d9fbdff4af89e5 Mon Sep 17 00:00:00 2001 From: prestonderek Date: Wed, 12 Oct 2022 14:10:22 -0700 Subject: Removed ; from else and indented line 72 --- CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp index d576211..448b9eb 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.cpp @@ -68,8 +68,8 @@ int main() cout << "Senior" << endl; // Breakpoint 2 // Put a breakpoint on the following line - else; //the following cout statement is happening after the else. This else statement is currently useless. - cout << "Adult" << endl; + else //the following cout statement is happening after the else. This else statement is currently useless. Remove the ; and indent the cout statement on line 72. + cout << "Adult" << endl; return 0; } \ No newline at end of file -- cgit v1.2.3