TA贡献16条经验 获得超4个赞
很简单,直接赋值,min=a; ,第二个就是 ,min=b;
TA贡献5条经验 获得超3个赞
public class Main {
public static void main(String[] args){
int a = 2000;
int b = 1000;
int min = a;
if(min>b)
{
min = b;
}
else
min = a;
System.out.println(min);
TA贡献457条经验 获得超255个赞
min=a;
min=b;
举报