No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
How do you find average from the following code? On average, how many stars would be displayed by the following algoithm? On average, how many stars would be displayed if nNum was doubled? [code=java]static Random randNumGen = new Random(); public static void main(String[]args) { int nNum = 10; printStar(nNum); } … | |
Can somebody help me with this problem? It must use recursion however, and no iterative statements. Write a method called reverse that takes a single long integer argument and returns the result of reversing its digits. For example: System.out.print(reverse(-12); returns -21 and System.out.print(reverse(1234567)); returns 7654321 i know that (number % … |
The End.