Post Reply 
(10C) (12C) Tip Calculation
10-08-2017, 12:02 PM (This post was last modified: 10-09-2017 01:03 AM by Gamo.)
Post: #1
(10C) (12C) Tip Calculation
Here is the simple program to calculate Tip and Total per person.
This program work for HP calculator that doesn't have the LBL to assign to.

Code:

STO 1 [Bill ] 
R/S
STO 2 [ %Tip ] 
R/S
STO 3 [ Split ] (if only yourself use 1)
R/S
RCL 1 [ Tip per Person ]
RCL 2
%
RCL 3
/
R/S
RCL 1 [Total per Person ]
RCL 2
%
+
RCL 3
/
GTO 00

How to input:

1. Enter bill amount then press R/S
2. Enter percent tip then press R/S
3. Enter how many person share then press R/S
4. R/S answer for Tip per Person
5. R/S answer for Total per Person

Example: Bill Amount $123.45 %tip 15% with 3 persons

123.45 R/S > 15 R/S > 3 R/S > R/S result 6.17 tip > R/S result 47.32 Total
Find all posts by this user
Quote this message in a reply
10-08-2017, 06:44 PM
Post: #2
RE: (10C) (12C) Tip Calculation
[quote='Gamo' pid='81142' dateline='1507464121']
Program:
Code:
ENTER [Bill ]
STO 1 
R/S
ENTER [ %Tip ] 
STO 2
R/S
ENTER [ Split ] (if only yourself use 1)
STO 3
R/S
...

Again, all ENTERs are obsolete and should be removed.
BTW, for code like this you should use "code" tags, not "quote". This makes sure a fixed width font is used for better formatting.

Dieter
Find all posts by this user
Quote this message in a reply
10-09-2017, 01:05 AM (This post was last modified: 10-09-2017 01:45 AM by Gamo.)
Post: #3
RE: (10C) (12C) Tip Calculation
Dieter Thank You

I'm getting used to of the ENTER key.

Make changed took off the ENTER

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)