在JAVA语言中,下列代码运行的结果是 int a=1,b=3,c=5; if(a>b) if(b>c) c=a+b; else c=a*b; System.out.println( a + "\
##易错题
题目:在JAVA语言中,下列代码运行的结果是 int a=1,b=3,c=5; if(a>b) if(b>c) c=a+b; else c=a*b; System.out.println( a + “\t” + b + “\t” + c);
结果为1,3,5
int a = 1, b = 3, c = 5;
if (a > b)
if (b > c)
c = a + b;
else
c = a * b;
System.out.print
原创
2020-05-13 09:44:29 ·
1960 阅读 ·
0 评论