I have a program called FACTORS that prompts for an input value, and computes and displays a list of all the factors of that input number.
Now I want to write another program that calls FACTORS a couple of times and then loops through the lists of factors.
So I want to be able to do something like
prompt A
prgmFACTORS(A) -> L1
How can I re-write my FACTORS program to take a passed in parameter instead of prompting for it, and pass the list as output to the calling program instead of displaying it?
I'm using a TI-Nspire in TI-84 Plus mode.