ArrayFunHouseTwo - //are in increasing order [1,2,6,9,23]...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
// A+ Computer Science  -  www.apluscompsci.com  //Name -  //Date -  //Lab  -  import java.lang.System;  import java.lang.Math;  public class ArrayFunHouseTwo  //instance variables and constructors could be used, but are not really needed    //goingUp() will return true if all numbers in numArray 
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: //are in increasing order [1,2,6,9,23] public static boolean goingUp(int numArray) { return true; } //goingDown() will return true if all numbers in numArray //are in decreasing order [31,12,6,2,1] public static boolean goingDown(int numArray) { return true; } }...
View Full Document

Page1 / 2

ArrayFunHouseTwo - //are in increasing order [1,2,6,9,23]...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online