Keeping track of values without an array
In the function below, how can I keep track of factors. For every factor how could I store as a variable so that I can reference it later. The problem I have now is that every loop the value will change, so I will delete every factor and the variable will end up being the last factor, if any. Is there anyway to do this without an array or stuff covered in the second half of intro. computing courses?
sorry about that
void factorevaluation(int n)
while(count <= (n/2))