CS173: Intro to Computer Science - Nearest Value in an Array without Going Over (3 Points)

Developed by Professor Tralie and Professor Mongan.

Exercise Goals

The goals of this exercise are:
  1. To iterate over an array
  2. To conditionally identify a specific array element by its index
Modify the Driver.java file to find the nearest value to a given value in an array, that is less than or equal to that value.
Welcome to our online modules system! Be sure to log in with your Urinus ID before you proceed. For example, Professor Tralie's ID is ctralie. If you are not an Ursinus student, that's fine! Just make something up, and you can still run everything