下面程序代码的输出结果是()。 int num1=40; int num2=5; int ans=0; if ( num1/5==num2){ans=10;} if (num2%5==0) {ans=20;} if (num2==0){ans=30;} else {ans=40;} System.out.println("answer is :"+ans);
A.
answer is :10
B.
answer is :20
C.
answer is :30
D.
answer is :40
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】One Body Project participant says that the real motive of those who promote the perfect body is to ________.
【简答题】Extra 5 cashless society in China 1. According to CBS reporter Ben Tracy, one of the big reasons for mobile payments has caught on so quickly in China is: Most people in China _________ and they basic...