From b9146a8934a14963240b1d111e5165a5a53abbd9 Mon Sep 17 00:00:00 2001 From: prestonderek Date: Wed, 5 Oct 2022 14:50:34 -0700 Subject: Commit 10/5/22 for pseduocode and output files --- ...T116-Lab0Debugging Project-Preston-Psuedocode.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt (limited to 'Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt') diff --git a/Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt b/Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt new file mode 100644 index 0000000..079301e --- /dev/null +++ b/Ch 5 Debugging Project/CST116-Lab0Debugging Project-Preston-Psuedocode.txt @@ -0,0 +1,20 @@ +start main function + +initialize variable money +initialize empty variable raise + +print amount of money + +print enter raise amount +input raise amount in percentage above 1 + +while raise is below 1 + print raise amount must be above 1 + print enter raise amount + input raise amount above 1 + +calculate money * raise + +print money after raise + +end main function -- cgit v1.2.3