diff options
| author | EdwardFine <[email protected]> | 2022-09-29 15:34:14 -0700 |
|---|---|---|
| committer | EdwardFine <[email protected]> | 2022-09-29 15:34:14 -0700 |
| commit | 3a5f57cb7d199ae08d46e3bc80fba3365f6e6337 (patch) | |
| tree | 077707653fd0e84ccb154d0d8617a2fd1458aeac | |
| parent | Finished Debug Project (diff) | |
| download | cst116-lab0-debugging-edwardfine-3a5f57cb7d199ae08d46e3bc80fba3365f6e6337.tar.xz cst116-lab0-debugging-edwardfine-3a5f57cb7d199ae08d46e3bc80fba3365f6e6337.zip | |
Pseudo Code
| -rw-r--r-- | Ch 5 Debugging Project/CST116-Debugging-Fine-Pseudo-Code.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Ch 5 Debugging Project/CST116-Debugging-Fine-Pseudo-Code.txt b/Ch 5 Debugging Project/CST116-Debugging-Fine-Pseudo-Code.txt new file mode 100644 index 0000000..206076f --- /dev/null +++ b/Ch 5 Debugging Project/CST116-Debugging-Fine-Pseudo-Code.txt @@ -0,0 +1,16 @@ +You have $123.45 +Enter percent raise (in decimal form): .15 +After your raise you have $141.967 + +C:\Users\edfin\Source\Repos\cst116-lab0-debugging-EdwardFine\Ch 5 Debugging Project\x64\Debug\Ch 5 Debugging Project.exe (process 20120) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + +Pseudo Code +Float Money with an exact number +Float Raise as a placeholder number +cout current money +cin for the percent raise in decimal form, overwrite raise with decmial. +Internally mulitply the raise and money and overwrite raise with the new value. +Add raise to money +cout updated money.
\ No newline at end of file |