Search:

Type: Posts; User: mattmattmatt

Search: Search took 0.12 seconds.

  1. Replies
    12
    Views
    1,906

    Re: Help with Coding School Assignment

    I got the error fixed and I'm trying to put in the remainder and prompting the user for it if they pick division, but it just skips asking for the remainder and counts it correct if the answer is...
  2. Replies
    12
    Views
    1,906

    Re: Help with Coding School Assignment

    I posted my new code. The professor went over kind of an outline of how to set it up today, so this is what I've got now. The current error I'm getting when trying to compile is for the section where...
  3. Replies
    12
    Views
    1,906

    Re: Help with Coding School Assignment

    Would that fix the error that I'm currently getting? And, I just put the flush right after the nextInt segment right?

    --- Update ---

    Hopefully this screenshot will help. Even after adding that...
  4. Replies
    12
    Views
    1,906

    Re: Help with Coding School Assignment

    So the "input.nextLine();" segment would go after my code "guess = keyboard.nextInt();"? and after every input that the user gives? Just want to make sure I understand that correct. We haven't...
  5. Replies
    12
    Views
    1,906

    Re: Help with Coding School Assignment

    Thanks for the compliment! I started testing it and here's the first problem I got to. Once I enter my name, pick addition for example then get the problem. I can enter my solution, but once I do it...
  6. Replies
    12
    Views
    1,906

    Help with Coding School Assignment

    I have a school project assignment and the assignment is to create a math "game" that prompts the user for their name, asks them if they want to do addition, subtraction, multiplication or division....
Results 1 to 6 of 6