Command | Explanation |
---|---|
cat | Prints the entire file to the screen. This is mostly useful for short files |
less | Prints the file to the screen, one "page" at a time where are page is the amount of stuff that will fit onto your terminal window. To advance to the next page, hit the spacebar. To go back a page, hit 'b'. To quit, hit 'q' |
-42 is not in the range 0 .. 100The program should go through all command line inputs, be there 2 or 200. If all inputs are integers in the correct range, the program should print
The input is good
java Reverse 2 4 8 12 42 geoffreytowell@Geoff2020Mac Lab04 % java ReverseCI 2 4 8 17 42 169 0: 2 13.0 1: 4 6.48074069840786 2: 8 4.123105625617661 3: 17 2.8284271247461903 4: 42 2.0