From 816703f59b44b5cd826998f31d6f933e242484a6 Mon Sep 17 00:00:00 2001 From: Tim Pearse Date: Sat, 1 Oct 2022 13:49:43 -0700 Subject: Change 2: Finished Exercise 3 and added the results of running it in a txt file. Next step : Pseudocode. Also need to fix the other project --- Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 4 +++- 1 file changed, 3 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 3a09c34..848e076 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -50,7 +50,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.45 * 7) Hover your mouse pointer over raise. What is its value? +* .1 * 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 @@ -85,7 +87,7 @@ int main() // Breakpoint 1 // Put a breakpoint on the following line - cout << "Enter percent raise: "; + cout << "Enter PERCENT raise: "; cin >> raise; -- cgit v1.2.3