ARRAY HELP

xsss
Last edited on
Did you have a question?
for(int i=0;i<n;i=i+1)
{
K[i] ........;
}

i dont know what to do from here, what do i set n equal to?
Your OP pretty clearly states the name of the variable that stores the number of elements you have to loop over.
Topic archived. No new replies allowed.