Question: 3. Order check [7 points). Write a program OrderCheck.java that takes four int command-line arguments w, x, y, and z. Define a boolean variable whose

3. Order check [7 points). Write a program OrderCheck.java that takes four int command-line arguments w, x, y, and z. Define a boolean variable whose value is true if the four values are either in strictly ascending order (w x>y> z), and false otherwise. Then, display the boolean variable value. NOTE 1: Do not use if statements on this program. NOTE 2: Assume that the inputs will always be integers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
