(12C) Percentage of Total - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (12C) Percentage of Total (/thread-17078.html) |
(12C) Percentage of Total - Gamo - 06-08-2021 09:08 AM HP-12C Percentage of Total Usage: ►Clear FIN and REG ►Key in all number in the list following each entry with [R/S] ►Optioanl: The running total may be viewed at any point by pressing [RCL] 0 ►After all the number have been keyed in, press 0 [R/S] ►Calculate and display each percent ( in the opposite oreder form which they were keyed in ) by successively pressing [R/S] ►When display shown 100 indicated that now finish. Program: Code:
Example: List are 12, 10, 5, and 7 f [FIN] f [REG] f [PRGM] 12 [R/S] display 1 10 [R/S] display 2 5 [R/S] display 3 7 [R/S] display 4 0 [R/S] display answer 20.6% for 7 [R/S] display answer 14.7% for 5 [R/S] display answer 29.4% for 10 [R/S] display anwer 35.3% for 12 [R/S] display 100 mean finish Gamo 6/2021 |