diff options
| author | Trenton Stark <[email protected]> | 2022-10-01 13:14:26 -0700 |
|---|---|---|
| committer | Trenton Stark <[email protected]> | 2022-10-01 13:14:26 -0700 |
| commit | 52bac87690fa0f4c86ed248692c799f5af335ede (patch) | |
| tree | d3684fe764e2da35dc3aab893bbfc679f77e0790 | |
| parent | Renamed psuedo code file (diff) | |
| download | cst116-lab0-debugging-starktre-52bac87690fa0f4c86ed248692c799f5af335ede.tar.xz cst116-lab0-debugging-starktre-52bac87690fa0f4c86ed248692c799f5af335ede.zip | |
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.cpp | 2 | ||||
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj | 2 | ||||
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj.filters | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp index 9c69bf8..83f8ba7 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.cpp @@ -82,7 +82,7 @@ int main() cout << "Enter percent raise: ";
cin >> raise;
- money += money * raise/100;
+ money += money * (raise / 100);
cout << "After your raise you have $";
cout << money << endl;
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj b/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj index 65a88a3..ccc11ed 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj @@ -142,7 +142,7 @@ <ClCompile Include="Ch 5 Debugging Project.cpp" />
</ItemGroup>
<ItemGroup>
- <Text Include="cst116-lab0-debugging-starktre-psuedocode.txt" />
+ <Text Include="cst116-lab0-debugging-starktre-psuedo-code.txt" />
<Text Include="cst116-lab0-debugging-starktre.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj.filters b/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj.filters index e40fdd2..6ab8520 100644 --- a/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj.filters +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project.vcxproj.filters @@ -23,7 +23,7 @@ <Text Include="cst116-lab0-debugging-starktre.txt">
<Filter>Source Files</Filter>
</Text>
- <Text Include="cst116-lab0-debugging-starktre-psuedocode.txt">
+ <Text Include="cst116-lab0-debugging-starktre-psuedo-code.txt">
<Filter>Source Files</Filter>
</Text>
</ItemGroup>
|