Hey guys. I've decided to make up a program to average numbers inputted in a list. I realize this is pretty easily done manually, but I wanted to see if a program could do it, naturally. Here's the code:
:If dim(L₁)≠0 :Then :0→dim(L₁) :Goto A :End :Lbl A :Input "NUMBER: ",N :N→L₁(1+dim(L₁ :Menu("INPUT MORE?","Yes",A,"No",B) :Lbl B :Disp "AVERAGE:",mean(L₁)
Are there any suggestions you could give me to improve the code at all? Namely the If condition in the beginning, as I'm still unsure about how it deals with Then/Else/End statements exactly.