public class Test {
public static void main(String[] args) {
int a,b,c
Scanner input=new Scanner(System.in)
a=input.nextInt()
b=input.nextInt()
c=input.nextInt()
if(a==b && b==c)
{
}
else
{
if(a+b+c>1000)
{
System.out.println("这三个数之和大于10000")
}
else
{
System.out.println("这三个数之和不大于10000")
}
}
}
}
希望能帮到你,求采纳
if(a=b&&b=c){System.out.print("这三个数相等。")}else{if(a+b+c>1000){System.out.print("这三个数之和大于1000")}else{System.out.print("这三个数之和不大于1000")}}if(A==B&&B==C&&A==C){System.out.println("这三个数相等")}
else if((A+B+C)>1000)
{System.out.println("这三个数之和大于1000")}
else
{System.out.println("这三个数之和小于1000")}