package com.briup.job;
import java.util.Scanner;
public class Sort{
public static void main(String[] agrs){
Scanner sc = new Scanner(System.in);
System.out.println("请输入要排序的三个数:");
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int t = 0;
if (a>b) { //保证a<b
t = a;
a = b;
b = t;
}
if (b>c) { //保证b<c
t = b;
b = c;
c = t;
}
if (a>c) { //保证a<c
t = a;
a = c;
c = a;
}
System.out.println(a+"<"+b+"<"+c);
}
}