(12C Platinum) Tip Calculation
|
11-29-2018, 05:11 AM
(This post was last modified: 11-29-2018 05:15 AM by Gamo.)
Post: #1
|
|||
|
|||
(12C Platinum) Tip Calculation
Program to calculate Tip and Total per Person.
This program is adapted from my previous post at http://www.hpmuseum.org/forum/thread-9251.html The only difference is this one use ALG programming available on 12C Platinum. ------------------------------------------- Procedure: 1. Enter Bill Amount [R/S] 2. Enter Desire Tip% [R/S] 3. Enter How many person [R/S] 4. Answer: Tip Amount per Person [R/S] 5. Answer: Total Amount including Tip per Person ----------------------------------------------- Example: Bill $90.45 Tip 15% with 2 persons. 90.45 [R/S] display 90.45 15 [R/S] display 15 2 [R/S] display -6.78 // Answer Tip Amount per Person [R/S] display -52.01 // Answer Total Amount include Tip per person Remark: Negative Integer display indicate that this is the results First is tip amount Second is total amount Lastly negative also indicate that money is pay out. --------------------------------------------- Program: Tip Calculation (ALG mode) Code:
Gamo |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)