I figured out the getPosition method... but still having trouble with PrintWriter. I made sure that the file is not read only and it is in the right location. I'm not 100% sure but am I supposed to...
Type: Posts; User: orbin
I figured out the getPosition method... but still having trouble with PrintWriter. I made sure that the file is not read only and it is in the right location. I'm not 100% sure but am I supposed to...
The way my teacher described it is vague, but I will do my best. We are supposed to create a method, so that when they search for a number for example let's say 68. If 68 exists in the array, please...
I'm creating a class and methods and calling them in the main method. It's to find avg/median/total etc etc of an array.
import java.util.Arrays;
public class ArrayOps1D {