From 3a5f57cb7d199ae08d46e3bc80fba3365f6e6337 Mon Sep 17 00:00:00 2001 From: EdwardFine Date: Thu, 29 Sep 2022 15:34:14 -0700 Subject: Pseudo Code --- .../CST116-Debugging-Fine-Pseudo-Code.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Ch 5 Debugging Project/CST116-Debugging-Fine-Pseudo-Code.txt (limited to 'Ch 5 Debugging Project/CST116-Debugging-Fine-Pseudo-Code.txt') 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 -- cgit v1.2.3