# Search:

Type: Posts; User: shiftasterisk

1. ## Thread: In desperate need of help. Making an exponents table.

by shiftasterisk
Replies
13
Views
837

### Re: In desperate need of help. Making an exponents table.

yea whoops, really botched that one as i was in a rush, sorry about that. Glad the OP figured it out, I edited my post just in case for future references tho.
2. ## Thread: In desperate need of help. Making an exponents table.

by shiftasterisk
Replies
13
Views
837

### Re: In desperate need of help. Making an exponents table.

First lets change your variables to something more descriptive

Scanner kb = new Scanner(System.in);
int base = kb.nextInt();
int exponent = kb.nextInt();

Alright so...
3. ## Thread: Cracker Barrel puzzle solver using Recursion

by shiftasterisk
Replies
5
Views
1,009

### Re: Cracker Barrel puzzle solver using Recursion

Alright so I've come up to this point and now I'm getting a stackoverflow error which I was assuming I'd have at some point or another. Thanks again for the help.

import java.util.Stack;...
4. ## Thread: In desperate need of help. Making an exponents table.

by shiftasterisk
Replies
13
Views
837

### Re: In desperate need of help. Making an exponents table.

There only needs to be 1 for loop. Once you collected base 'b' and exponent 'e', the for loop would run from x = 1 to x<= e. Inside the for loop just print out b and b^x.
5. ## Thread: Cracker Barrel puzzle solver using Recursion

by shiftasterisk
Replies
5
Views
1,009

### Re: Cracker Barrel puzzle solver using Recursion

Oh yea, sorry about that. I just woke up and will start working on it soon.
6. ## Thread: Cracker Barrel puzzle solver using Recursion

by shiftasterisk
Replies
5
Views
1,009

### Cracker Barrel puzzle solver using Recursion

Hey everyone,

Ok, so I have to write this program that solves the Cracker Barrel puzzle aka Triangular Peg Solitaire. For more background info about the puzzle you can check out (George Bell's...
Results 1 to 6 of 6