Question: In Java, Get three int values from the keyboard. Using the conditional (ternary) operator determine if the numbers are in ascending order. If they are
In Java, Get three int values from the keyboard. Using the conditional (ternary) operator determine if the numbers are in ascending order. If they are in ascending order store the character A in a char variable otherwise store a D character in the char variable. Do not duplicate assignment operations. Assignment should happen one time.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
