| /home/chloe/ASDV-Java/lab8_ChloeFontenot/src/main/java/com/chloefontenot/lab8_chloefontenot/ConditionalOperator2.java |
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java
package com.chloefontenot.lab8_chloefontenot;
public class ConditionalOperator2 {
public static void main(String[] args) {
java.util.Scanner input = new java.util.Scanner(System.in);
double x = input.nextDouble();
double y = input.nextDouble();
double z = input.nextDouble();
System.out.println((x < y && y < z) ? "sorted" : "not sorted");
}
}