Question
Asked by:
2000Angie
2000Angie from TCC/RSU
Rating : No Rating
Questions Asked: 12
Tutorials Posted: 0
 

$30.00 Java Recursions

Q:
I previously posted the incorrect file. but it would not let me edit a post aftersomeone has answered it so here is the correct unit 12 lab
 
Attachments:
Lab12.doc (78K)
Want to take a stab at the bounty and post a tutorial? Need clarification? Join us now or log in! Read more on how this works.
 
Available Tutorials to this Question
Posted by:
chetan2009
chetan2009 from University
Rating (115): A+
Questions Asked: 0
Tutorials Posted: 407, earned $1,945.56
 

$30.00 Compiled and Tested solution

  • This tutorial was purchased 1 time and rated A+ by students like you.
  • Posted on Nov 01, 2008 at 02:47:30PM
A:
Preview: ... if there is any pro ...

The full tutorial is about 19 words long plus attachments.

Attachments:
lab12.zip (2K)
Posted by:
modulo51
modulo51 from University of California, Berkeley
Rating (36): B+
Questions Asked: 0
Tutorials Posted: 209, earned $535.69
 

$9.00 Exercise 1; Power.java & PowerTest.java, screen shot, use notes

  • This tutorial hasn't been purchased yet.
  • Posted on Nov 02, 2008 at 1:45:29PM
A:
Preview: ... .out.println(
"Invalid exponent; must be > 0");
} else {
System.out.println(
"Value is " +
Power.intPowerRecursive(base, exponent) + "\\\\n");
}
System.out.print(
"Enter 0 to stop or any digit to continue: ");
cont = Integer.parseInt(keyboard.nextLine());
} while ...

The full tutorial is about 612 words long plus attachments.

Attachments:
PowerTest.java (1K) (Preview)
Power.java (0K) (Preview)
Ex1_ScreenShot.JPG (47K) (Preview)
PowerUseNotes.txt (1K) (Preview)
Posted by:
modulo51
modulo51 from University of California, Berkeley
Rating (36): B+
Questions Asked: 0
Tutorials Posted: 209, earned $535.69
 

$9.00 Exercise 2; Divisor.java & DivisorTest.java, screen shot

  • This tutorial hasn't been purchased yet.
  • Posted on Nov 02, 2008 at 1:50:51PM
A:
Preview: ... o {
System.out.print("\\\\nEnter first number: ");
number1 = Integer.parseInt(kb.nextLine());
System.out.print("Enter second number: ");
number2 = Integer.parseInt(kb.nextLine());
System.out.println(
"GCD is " + Divisor.gcdRecursive(number1, number2));
System.out.print ...

The full tutorial is about 454 words long plus attachments.

Attachments:
DivisorTest.java (1K) (Preview)
Divisor.java (0K) (Preview)
Ex2_GCD_ScreenShot.JPG (50K) (Preview)
Posted by:
modulo51
modulo51 from University of California, Berkeley
Rating (36): B+
Questions Asked: 0
Tutorials Posted: 209, earned $535.69
 

$9.00 Exercise 3; PowerIterate.java, screen shot, use notes

  • This tutorial hasn't been purchased yet.
  • Posted on Nov 02, 2008 at 2:04:18PM
A:
Preview: ... Iterate {

static Scanner kb = new Scanner(System.in);

public static int intPowerIterative(int base, int exponent) {
int power = 1;
for (int k = 1; k <= exponent; k++) {
power = base * power;
}
return power;
}

public static void main(String[] args) {
System.out.println("\\\\n\\\\n" +
"\\\\t ...

The full tutorial is about 616 words long plus attachments.

Attachments:
PowerIterate.java (1K) (Preview)
Ex3_PowerIterativeScreenShot.JPG (44K) (Preview)
Posted by:
modulo51
modulo51 from University of California, Berkeley
Rating (36): B+
Questions Asked: 0
Tutorials Posted: 209, earned $535.69
 

$27.00 All 3 parts of Lab 12 & original Lab12.doc

  • This tutorial hasn't been purchased yet.
  • Posted on Nov 02, 2008 at 7:20:03PM
A:
Preview: ...

As always, please contact me if yo ...

The full tutorial is about 34 words long plus attachments.

Attachments:
Lab12Tutorial.zip (150K)
   
Join Now or Log In
Get Tutoring
Get Paid
Academic Honesty