09 - Store x m-times to the statistical register

Post Reply
Peet
Posts: 257
Joined: Tue Sep 29, 2020 12:01 am
Location: Germany

09 - Store x m-times to the statistical register

Post by Peet »

Usage:
x=? value to be added e.g. 5
COUNT=? how often should x be added? e.g. 10
i.e. the value 5 is added 10 times to the statistical registers.
Display: number of entries (total)

Code: Select all

LBL "~+M"
"X=?"
PROMPT
LBL 01
STO 01
"COUNT=?"
PROMPT
1
+
STO 02
LBL 04
DSE 02
GTO 02
GTO 03
LBL 02
RCL 01
S+
GTO 04
LBL 03
END
[code]
Attachments
09_SUM+M.raw
(42 Bytes) Downloaded 132 times
My programmable calculators - former: CBM PR100, HP41CV, HP28S, HP11C - current: HP48G(256kB), HP35S, Prime, DM41X, DM42
Post Reply