PX_nearHundred_lastname (4 files)

Purpose: To build a java programs that call a static methods and process based on the spec below.



/*
* Given an int n, return true if it is within 10 of 100 or 200.
* Note: Math.abs(num) computes the absolute value of a number.
*
* nearHundred(93) → true
* nearHundred(90) → true
* nearHundred(89) → false
*/
Be sure to create the following files:
  • PX_nearHundred_lastname.java (Actual Java program)
  • PX_nearHundred_lastname.txt (Copy of Java program)
  • PX_nearHundred_lastname.png (Screen shot of program running)
  • PX_nearHundred_lastname.mp4 (Video of you running the program)
  • Be sure to drop these off into google classroom.

  • Click on this link to see the source code.
  • Click on this link to see result that will be similar to yours but not exact.
  • Click on this link to see what array data you need to use based on your seat number.