Search:

Type: Posts; User: jwb4291

Search: Search took 0.15 seconds.

  1. Replies
    1
    Views
    1,453

    [SOLVED] I've never seen these erros before

    I am in the process of writing a code that involves buttons and a displaypanel and a lot of different things, so ive decided to Test as I go with every aspect of the code. I tried setting up just the...
  2. Replies
    15
    Views
    5,491

    Re: need to add a Double Button to the code

    YES this is what is going on, this online submission is making it difficult to learn and do well in this class, and the all online textbook isn't very in-depth also there arent any lectures or...
  3. Replies
    15
    Views
    5,491

    Re: need to add a Double Button to the code

    well it is a class for java programming
    The feedback is just where the errors show up for the class via the website that the homework is on. we can rename Feedback "Errors" if it helps get my point...
  4. Replies
    15
    Views
    5,491

    Re: need to add a Double Button to the code

    Everything I know and was given is in my first post. The prompt followed by the incomplete Code. Then I gave you both of my codes.

    "Feedback" is a section that, once i submit my answer, usually...
  5. Replies
    15
    Views
    5,491

    Re: need to add a Double Button to the code

    Ive also tried it without Double as the variable and just left is empty () and i still got the same no feedback.
  6. Replies
    15
    Views
    5,491

    Re: need to add a Double Button to the code

    well this is a homework assignment and usually, when something is wrong, there is a Feedback section that usually says some error message. When i enter the code I entered as my answer it just says...
  7. Replies
    15
    Views
    5,491

    need to add a Double Button to the code

    Let's add another button to this version of the WordPlay program, a "Double" button. Notice that we've added new code, so that WordPlay now contains a JButton component called doubleButton. When the...
  8. [SOLVED] Re: I just need help with this WHOLE program, O boy.

    no pi isnt equal to 22/7, that is just the closest fraction resembling pi. 22/7 = 3.14285714
    pi =3.14159265...etc
  9. [SOLVED] Re: I just need help with this WHOLE program, O boy.

    ya..i got nothing
    I have something that i think may work for the PiCounter but I cannot do drivers!
    can someone spot check my PiCounter and help with PiDriver?

    import java.util.Scanner;
    import...
  10. [SOLVED] I just need help with this WHOLE program, O boy.

    This programming assignment is about pi, you know: 3.14, and all that. You probably know someone who memorized some of its digits back in seventh grade. There are the 3.14 people, just about...
  11. Replies
    2
    Views
    5,538

    [SOLVED] I dont know how to complete this code?

    OK below is the prompt I got for this homework assignment. I have been able to write almost all of it but I cant figure out the last bit.
    Prompt-
    "The Person class has a print method that writes a...
  12. Replies
    7
    Views
    2,400

    Re: No idea what to do for this

    I figured it out.


    public City()
    {
    name = "unknown";
    population = -1;
    }
    is what has to be put in
  13. Replies
    7
    Views
    2,400

    Re: No idea what to do for this

    Yeah, that didn't work.

    I tried substituting "unknown" for "New York" and -1 for 100 because thats what the prompt said but that didnt work either
  14. Replies
    7
    Views
    2,400

    Re: No idea what to do for this

    Then what is the actual answer? because all i have so far is


    public class City {

    private String name;
    private int population;

    so im not sure what follows it
  15. Replies
    7
    Views
    2,400

    No idea what to do for this

    Here is the prompt I got-
    The code below shows some of the text for a class called City. As you can see, a City has two instance variables, name and population. Write a complete public constructor...
  16. Replies
    7
    Views
    3,735

    [SOLVED] Re: I thought that this would be right?

    Yeah that didnt work. This is the feedback I got
    The input value for jackpot was 910.7072635769393

    Your code produced:
    0

    The correct solution produced:
    17
  17. Replies
    7
    Views
    3,735

    [SOLVED] Re: I thought that this would be right?

    It is a homework assignment, the only place that I can actually type any code in is after
    in numDays = 0;
    code goes here
    return numDays;
    }
    it is just completing the method but Im not sure what...
  18. Replies
    7
    Views
    3,735

    [SOLVED] Re: I thought that this would be right?

    This is the whole code. The error says that it should say '.class' right after 'double amount' which makes no sense
    This is my most recent code that I plugged in in the blank space.

    while(amount...
  19. Replies
    7
    Views
    3,735

    [SOLVED] I thought that this would be right?

    Here is the prompt I got: Suppose you have one cent ($0.01) in a sock. Each day you double the amount of money you have in the sock. Thus on day one you have one cent, on day two you have two cents...
  20. Replies
    7
    Views
    3,145

    Re: Not sure what is wrong with this

    Yeah thanks, I ended up figuring it out before coming back to the site anyways but thanks all!
  21. Replies
    7
    Views
    3,145

    Re: Not sure what is wrong with this

    well the code is already done it is just missing a line, it's a homework problem. I have to fill in where I wrote CODE GOES HERE with something to make the whole code work. and that is where im...
  22. Replies
    7
    Views
    3,145

    Not sure what is wrong with this

    this is the prompt for the question:
    The Car class contains four class attributes, make, year, serialNumber, and color. We sometimes want to create a new Car object with the same make, year and...
Results 1 to 22 of 22