求long整數(shù)的位數(shù)( 能求負(fù)數(shù)位數(shù),包括0也能求出位數(shù),要用Scanner輸入)只能用+ - * / 還有下面的語法。。http://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#addExact-int-int-而且只能用一條公式表達(dá)出==請各位大神幫忙!補(bǔ)充一下。只能用提供網(wǎng)站的method來編程、、謝謝各位大神只能用+ - * /, and the methods in the Math class in the website.It must be a one-line formula using only the allowable operations above。(老師原話,不太會翻譯專業(yè)術(shù)語不好意思)
添加回答
舉報
0/150
提交
取消