From 1d509d67725a3fe1e8ad24de95b4ba922b7df52a Mon Sep 17 00:00:00 2001 From: Taylor Rogers Date: Sun, 2 Oct 2022 08:49:42 -0700 Subject: Exercise 2 partial --- Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 8 +++++++- 1 file changed, 7 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 0ab1db3..895c887 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -48,7 +48,13 @@ * 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 @@ -88,7 +94,7 @@ int main() money = money * raise; - cout << "After your raise you have $"; +c cout << "After your raise you have $"; cout << money << endl; return 0; -- cgit v1.2.3