In addition to correctness, solutions will be graded for style and design. Additional detail is given below, but here are the key points:
final int MAX_SIZE = 30; // max # of dates final int LIMIT = 50; // limit of 50 – USELESS if ( x > 0 ) // check x is positive – USELESS
        public void printResults(String[] items, int first, int last,
                                 String key);
/* * Course: SE 2811 * Term: Winter 2019-20 * Assignment: assignment name * Author: your name * Date: date started */
        static final int BUFFER_SIZE = 50;
        double[] toProcess = new double[BUFFER_SIZE];
  Except in rare circumstances, 
  do not declare named constants for test code. Named constants
  in tests just creates maintenance problems.
        distance += 10; // add ten to distance
are worse than useless. Don't write a comment if its opposite is obviously
false. 
You can fix most formatting issues by doing the following in IntelliJ: