求三个整数最大值
class Max{
public static void main(String[] args) {
//求三个整数最大值
int a=1,b=2,c=3;
if(a>b){
if(a>c){
System.out.println(a);
}else{
System.out.println(c);
}
}else{
if(b>c){
System.out.println(b);
}else{
System.out.println(c);
}
}
}
}