谁看看我程序为什么运行不了?
import java.util.*;public class Main1{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
char n,m,k;
while (sc.hasNextInt()){
n=(char) sc.nextInt();
m=(char) sc.nextInt();
k=(char) sc.nextInt();
if(n>m)
{
if(m>k)
{
System.out.print(n+ +m+ +k); }
else {
System.out.print(n+ +k+ +m);
}
}
else {
if(n>k)
{
System.out.print(m+ +n+ +k); }
else {
System.out.print(m+ +k+ +n);
}
}
}
}
}