diff options
| author | Anibal LopezBonilla <[email protected]> | 2022-10-04 11:15:48 -0700 |
|---|---|---|
| committer | Anibal LopezBonilla <[email protected]> | 2022-10-04 11:15:48 -0700 |
| commit | 1b9b29ed5371126dd826b2884be5a47757a4996e (patch) | |
| tree | 07beda2f442b9f2485da0383b25cc8536bf99e4a /CST116-Lab0-Debugging-Lopez-Bonilla/Pseudo_Code_Lab0_Debugging_Lopez-Bonilla.txt | |
| parent | Added Pseudo Code file (diff) | |
| download | cst116-lab0-debugging-buzzerbeaterclutch-1b9b29ed5371126dd826b2884be5a47757a4996e.tar.xz cst116-lab0-debugging-buzzerbeaterclutch-1b9b29ed5371126dd826b2884be5a47757a4996e.zip | |
Renamed Pseudo Code File
Diffstat (limited to 'CST116-Lab0-Debugging-Lopez-Bonilla/Pseudo_Code_Lab0_Debugging_Lopez-Bonilla.txt')
| -rw-r--r-- | CST116-Lab0-Debugging-Lopez-Bonilla/Pseudo_Code_Lab0_Debugging_Lopez-Bonilla.txt | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/CST116-Lab0-Debugging-Lopez-Bonilla/Pseudo_Code_Lab0_Debugging_Lopez-Bonilla.txt b/CST116-Lab0-Debugging-Lopez-Bonilla/Pseudo_Code_Lab0_Debugging_Lopez-Bonilla.txt deleted file mode 100644 index 3f1e383..0000000 --- a/CST116-Lab0-Debugging-Lopez-Bonilla/Pseudo_Code_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 |