/*
 * Task 02:
 * 
 * complete the following methods to meet the 
 * indicated specifications
 */

package task02;

public class UsingArrays {
	
	// getValue returns the value that the array argArray 
	// contains under index i.
	
	// You can assume that the given index is within the range
	// of allowed indices; no need for handling underflow and overflow.
	
	public static double getValue(double[] argArray, int i) {
		// COMPLETE THIS METHOD

	}
	
	// squareValue replaces the value that the array argArray
	// contains under index i, by its square
	// Example: If the value was 4.0, it should be 16.0 after
	// application of the method
	
	// You can assume that the given index is within the range
	// of allowed indices; no need for handling underflow and overflow.
	
	public static void squareValue(double[] argArray, int i) {
		// COMPLETE THIS METHOD

	}
}
