Posts by Diego Ribeiro • 1 point
1 post
-
-2
votes2
answers5333
viewsA: How to do exponentiation in Java?
The difference is that if you use ** the answer is a real value and if you use the result is an integer. 8 ** 3 The answer would be 512.00 8 3 The answer would be 512 8.5 ** 3 The answer would be…
javaanswered Diego Ribeiro 1