aboutsummaryrefslogtreecommitdiff
path: root/Ch 5 Debugging Project/CST116-Debugging-Fine-Pseudo-Code.txt
blob: 206076f588704e308155d82523c5d03371ddef26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.