10-08-2017, 12:02 PM
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.
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
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