diff options
Diffstat (limited to 'Ch 5 Debugging Project/Ch 5 Debugging Project - Hill')
| -rw-r--r-- | Ch 5 Debugging Project/Ch 5 Debugging Project - Hill | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Ch 5 Debugging Project/Ch 5 Debugging Project - Hill b/Ch 5 Debugging Project/Ch 5 Debugging Project - Hill new file mode 100644 index 0000000..ee15dea --- /dev/null +++ b/Ch 5 Debugging Project/Ch 5 Debugging Project - Hill @@ -0,0 +1,15 @@ +You have $123.45 +Enter percent raise: .1 +After your raise you have $135.795 + +Pseudo Code: + +1. money = 123.45F; +2. raise; +3. print "You have $"; +4. print money \endline; +5. print "Enter a percent raise"; +6. input raise; +7. money = money * (1 + raise); +8. print "After your raise you have $" +9. print money \endline; |