Search:

Type: Posts; User: brandon66

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    3,104

    Re: Help with one-dimensional array

    Thanks alot guys for the help :) here is the finished code


    import java.util.Arrays;

    public class ArrayTestApp
    {
    public static void main(String[] args)
    {
    double[] testArray =...
  2. Replies
    7
    Views
    3,104

    Re: Help with one-dimensional array

    for step 4 would i create a for loop like this:?


    for(int i = 9; i < testArray.length; i++)
    {
    System.out.println(testArray[i]);
    }
  3. Replies
    7
    Views
    3,104

    Re: Help with one-dimensional array

    so the enhanced for loop would look like this: ?


    import java.util.Arrays;

    public class ArrayTestApp
    {
    public static void main(String[] args)
    {
    double[] testArray = new double...
  4. Replies
    7
    Views
    3,104

    Help with one-dimensional array

    Hey everyone, new to java here some troubles getting this down mostly step 4 i believe i have everything else correct not sure though.

    1. Create a one-dimensional array of 99 double values. Then,...
Results 1 to 4 of 4