aboutsummaryrefslogtreecommitdiff
path: root/Debugging 5 - Pseudocode.txt
blob: 206155f097308034e4696daf014c259098b050e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Define amount of money you have to 123.45
Print out "You have $"
Print out the variable money

Create loop to make sure user enters a valid percentage. 
print out "Enter percent raise:"
Intake value for variable "raise"

	If value is great than 1
		print out "Please enter a value between 0 and 1"
	else if value is less than 1
		print out "Please enter a value between 0 and 1"
	else
		add 1 to value of "raise"
		set variable "money" by multipling "money" and "raise"
Print out "after raise you have $"
print out value of money.