Search:

Type: Posts; User: javapenguin

Search: Search took 0.07 seconds.

  1. Replies
    11
    Views
    1,672

    This looks like it works now

    It took a while but I think this does it, though you'll have to check to make sure.

    :cool::cool:<:-P\:D/\:D/\:D/\:D/\:D/\:D/\:D/\:D/

    This fixes that error and also the error that kept making...
  2. Replies
    11
    Views
    1,672

    Re: BigMath Method / Allmost there but...

    I was able to fix it slightly.


    import javax.swing.JOptionPane;
    public class UserMathDrill {
    public static void main(String[] args) {
    //Declare everything
    String...
  3. Replies
    11
    Views
    1,672

    Re: BigMath Method / Allmost there but...

    Well, I see that if I define count outside both of the do while llops it will counter the cumalitive number of questions correctly, but will only allow 1 try and will go into negative counter.
  4. Replies
    11
    Views
    1,672

    Re: BigMath Method / Allmost there but...

    Yep, it worked.

    :cool::cool:\:D/\:D/\:D/\:D/\:D/\:D/\:D/\:D/

    However, it only lets you go 1 question if you play again, your counter goes into negatives, and it never clears it so that your...
  5. Replies
    11
    Views
    1,672

    Re: BigMath Method / Allmost there but...

    Hmmmmm....it's also posting number+otherNumber = 0.

    Also your counter starts at 0 when you try again.

    I think it only gives you one try the second time and two tires after that and you counter...
  6. Replies
    11
    Views
    1,672

    Re: BigMath Method / Allmost there but...

    I did notice that if you tell it you don't want to play again, that it'll say both are correct.

    Maybe it has something to do with the play again.

    Also, if you get both wrong and tell it not to...
  7. Replies
    11
    Views
    1,672

    Re: BigMath Method / Allmost there but...

    Funny. It works pretty good for me.

    It says number of questions 2 whenever I put something.

    If I tell it cancel, it says number of questions 1 and throws a Number Format Exception.
Results 1 to 7 of 7