Posts by Dex • 63 points
2 posts
-
2
votes1
answer1072
viewsQ: Calculation of a high value to an exponent b
I must create an algorithm that calculates a value a high to a exponent b. It is an exercise that cannot use Math.pow. I did the algorithm and when I put negative exponent the result. public static…
-
3
votes3
answers3097
viewsQ: How to generate random matrices without repeating numbers on the same line?
I want to store random numbers from 1 to 60 in an array. When there are equal numbers on the lines, it is to generate another random number. Type, cannot be: 11 55 55 43 49 30, and yes should be 11…