From d0587029b124ae20a13889253f1345a97187f869 Mon Sep 17 00:00:00 2001 From: alexandra-apetroaei Date: Tue, 4 Oct 2022 12:56:05 -0800 Subject: Finished --- Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Ch 5 Debugging Project/Ch 5 Debugging Project.cpp') diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp index 4abe62f..af6e6f2 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -24,7 +24,9 @@ * statement. Use the Step Over tool to take you to the next * line. * 10) Step over the next cout statement. Now look at the console -* window. What was printed? +* window. What was printed? +//You have $123.45 +* //Enter percent raise * 11) Select Stop Debugging either from the Debug menu or from your * toolbar. * @@ -38,7 +40,9 @@ * 5) Notice that the current line of execution is now at the * calculation. * 6) Look at your watch. What is the value of money? +* //123.449997 * 7) Hover your mouse pointer over raise. What is its value? +* //0.100000001 * 8) Step over the calculation. Notice the watch on money is now * red. This designates that the variable just changed its value. * 9) What happened to our money? I thought a raise was supposed -- cgit v1.2.3