aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Rogers <[email protected]>2022-10-02 08:54:51 -0700
committerTaylor Rogers <[email protected]>2022-10-02 08:54:51 -0700
commiteeb7d041bac7a22986b98a42157b8f85d97f3afd (patch)
tree68401ea012ca17332218869532b8678693617325
parentExercise 2 partial (diff)
downloadcst116-lab0-debugging-taylorrog-eeb7d041bac7a22986b98a42157b8f85d97f3afd.tar.xz
cst116-lab0-debugging-taylorrog-eeb7d041bac7a22986b98a42157b8f85d97f3afd.zip
Fixed calculation
-rw-r--r--Ch 5 Debugging Project/Ch 5 Debugging Project.cpp4
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exebin54272 -> 54272 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilkbin531576 -> 540312 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.objbin82795 -> 82799 bytes
-rw-r--r--Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdbbin1986560 -> 2027520 bytes
5 files changed, 2 insertions, 2 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
index 895c887..9ceae8c 100644
--- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
+++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp
@@ -92,9 +92,9 @@ int main()
cout << "Enter percent raise: ";
cin >> raise;
- money = money * raise;
+ money = money + money * raise;
-c cout << "After your raise you have $";
+ cout << "After your raise you have $";
cout << money << endl;
return 0;
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe
index 90fd275..3d75d2e 100644
--- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe
+++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.exe
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk
index 6e919ff..cc8c7d1 100644
--- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk
+++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.ilk
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj
index 31e67c6..1a85d3f 100644
--- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj
+++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.obj
Binary files differ
diff --git a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb
index 3693ecd..f463961 100644
--- a/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb
+++ b/Ch 5 Debugging Project/Debug/Ch 5 Debugging Project.pdb
Binary files differ