📄 methodmedo2.java
字号:
class MethodMedo2{
public static void main(String args[]){
int a=34,b=72,c=5,smallest;
sort3(a,b,c);
}
static void sort3(int x,int y,int z){
int temple;
if(x>y){temple=x;x=y;y=temple;}
if(x>z){temple=x;x=z;z=temple;}
if(y>z) {temple=y;y=z;z=temple;}
System.out.println("Sorted : "+x+" , "+y+" , "+z);
return;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -