From 89709813d00f2ecb46514733e4cde8361314ece1 Mon Sep 17 00:00:00 2001 From: Trenton Stark Date: Fri, 14 Oct 2022 23:37:32 -0700 Subject: Completed exercise 3 --- CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp') diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp index 6aa1c4d..b8b4487 100644 --- a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp +++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp @@ -50,6 +50,7 @@ * 4) Step into the PrintResults function. * 5) Age is 7300? Not even Ralph is that old. * 6) Why did the values for both variables change? +* The parameters for the days and age have been inputed in reverse * 7) Stop debugging and fix the error. * * Debugging Exercise 4 @@ -85,7 +86,7 @@ int main() // Breakpoint 2 // Put breakpoint on the following line - PrintResults(age, days); + PrintResults(days, age); return 0; } -- cgit v1.2.3