From a1b28813d86ba8b4469039e066facfbefb8b9a4e Mon Sep 17 00:00:00 2001 From: Anibal LopezBonilla Date: Tue, 4 Oct 2022 11:43:13 -0700 Subject: Small Changes to file namng --- ...T116-Lab0-Debugging-Lopez-Bonilla-Pseudo-Code.txt | 20 ++++++++++++++++++++ .../CST116-Lab0-Debugging-Lopez-Bonilla.txt | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 CST116-Lab0-Debugging-Lopez-Bonilla/CST116-Lab0-Debugging-Lopez-Bonilla-Pseudo-Code.txt delete mode 100644 CST116-Lab0-Debugging-Lopez-Bonilla/CST116-Lab0-Debugging-Lopez-Bonilla.txt diff --git a/CST116-Lab0-Debugging-Lopez-Bonilla/CST116-Lab0-Debugging-Lopez-Bonilla-Pseudo-Code.txt b/CST116-Lab0-Debugging-Lopez-Bonilla/CST116-Lab0-Debugging-Lopez-Bonilla-Pseudo-Code.txt new file mode 100644 index 0000000..3f1e383 --- /dev/null +++ b/CST116-Lab0-Debugging-Lopez-Bonilla/CST116-Lab0-Debugging-Lopez-Bonilla-Pseudo-Code.txt @@ -0,0 +1,20 @@ +Pseudo Code for Lab0-Debugging + + +Program begins + +Create money variable which has a value of 123.45 + +Create raise variable which is user inputs + +Creatw user prompt informing the user how much money they have earned before raise + +A user is prompted to input a percentage raise? EX. 10% = 0.10 OR .1 + +A calculation is made for raise percentage input by user. r = m * r (raise = money * raise) EX. 12.34 = 123.45 * 0.1 + +A new value for money is made based on output of raise calculation. m= m + r(money = money + raise) EX. 135.79 = 123.45 + 12.34 + +User Prompt is made informing the user of the raise that they have earned based on the previous two calculation. + +Program ends diff --git a/CST116-Lab0-Debugging-Lopez-Bonilla/CST116-Lab0-Debugging-Lopez-Bonilla.txt b/CST116-Lab0-Debugging-Lopez-Bonilla/CST116-Lab0-Debugging-Lopez-Bonilla.txt deleted file mode 100644 index 3f1e383..0000000 --- a/CST116-Lab0-Debugging-Lopez-Bonilla/CST116-Lab0-Debugging-Lopez-Bonilla.txt +++ /dev/null @@ -1,20 +0,0 @@ -Pseudo Code for Lab0-Debugging - - -Program begins - -Create money variable which has a value of 123.45 - -Create raise variable which is user inputs - -Creatw user prompt informing the user how much money they have earned before raise - -A user is prompted to input a percentage raise? EX. 10% = 0.10 OR .1 - -A calculation is made for raise percentage input by user. r = m * r (raise = money * raise) EX. 12.34 = 123.45 * 0.1 - -A new value for money is made based on output of raise calculation. m= m + r(money = money + raise) EX. 135.79 = 123.45 + 12.34 - -User Prompt is made informing the user of the raise that they have earned based on the previous two calculation. - -Program ends -- cgit v1.2.3