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...
Type: Posts; User: jwb4291
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...
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...
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...
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...
Ive also tried it without Double as the variable and just left is empty () and i still got the same no feedback.
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...
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...
no pi isnt equal to 22/7, that is just the closest fraction resembling pi. 22/7 = 3.14285714
pi =3.14159265...etc
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...
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...
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...
I figured it out.
public City()
{
name = "unknown";
population = -1;
}
is what has to be put in
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
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
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...
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
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...
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...
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...
Yeah thanks, I ended up figuring it out before coming back to the site anyways but thanks all!
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...
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...