Darma
❔ Parameter Shenanigans
I'm working on a linear search method that will return the count (number of iterations it took to find the target), the parameters are obviously the int table, the target number "t", and the count "c". I'm wondering if the c is incremented inside the method's for-loop, will the returned "c" be the new altered "c" or will it be the one that was used as an input for the function to be called.
41 replies
❔ Working w/ 2D Arrays
Hey all, new to the server and programming in general. Working on an assignment going over 2D Arrays. I'm currently trying to get the user's row and column input, find the specified index in the array, and print the new modified array, how should I go about doing this?
15 replies