blob: 9172669f308189d9f8cd200533effa14dae44095 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
create variable money and set value of money = 123.45F;
create variable raise;
print "you have$";
print money and create new line;
print "Enter percent raise as a whole number: ";
accept user input and store in raise;
print the number entered and show as a percentage;
convert value of raise to perform percentage increase of money;
increase value of money by the percent indicated by the user;
print the resulting value;
end
|