Forum: Java 15 Days Ago |
| Replies: 3 Views: 217 I know the "need to ask the user the name of the friend you want to delete, then search the list to find where that friend is and then remove it" I don't know how to do that part... |
Forum: Java 16 Days Ago |
| Replies: 3 Views: 217 I'm suppose to do this using sorting algorithm..so it asks to creat a friends database application that maintains a file of friend objects that contain names, telephone numberrs, and email... |
Forum: Java 17 Days Ago |
| Replies: 9 Views: 377 It is urgent, because I don't want to start worrying on the day before its due and be like "i don't know where to start". I've started it... but i'm not gonna post it yet because there are still some... |
Forum: Java 18 Days Ago |
| Replies: 9 Views: 377 Okay, i haven't started coding yet...but can you tell me the code how i can prompt the user to enter names, and than put them in alphabetical order and outputs them using sorting, thats it. thanks |
Forum: Java 21 Days Ago |
| Replies: 9 Views: 377 Hi, I've read the rules for this website and i'm aware that we should not expect people to do our homework. But I really need help on this program.. and I'm not sure how to start it, and it's last... |
Forum: Java 23 Days Ago |
| Replies: 5 Views: 240 I did try clicking it... duh.
It still doesn't work, it gives another link about the downloads. and i redled a few times.. |
Forum: Java 24 Days Ago |
| Replies: 5 Views: 240 what do you mean support link? The site i downloaded from is the DrJava website, drjava.org |
Forum: Java 25 Days Ago |
| Replies: 5 Views: 240 hi, I've recently downloaded Java on my computer I think I downloaded the "windows app" one. When I try to launch drjava, this errors pops up and it says:
An error occurred in Dr Java: ... |
Forum: Java Nov 6th, 2009 |
| Replies: 4 Views: 247 Yea I've tried that also... but than it gives me a bunch of errors in red...
I made the textfiles thought, dunno why it says cannot find the file..
> java MergeFiles... |
Forum: Java Nov 5th, 2009 |
| Replies: 4 Views: 247 This program is suppose to merge the two files by taking one element at a time from each, and the third file should contain the numbers from both file from lowest to highest.
Data1: 11 25 36 45... |
Forum: Java Nov 4th, 2009 |
| Replies: 1 Views: 162 I'm supposed to merge a ordered data of two files into a third file, keeping the data in order. I'm suppose to create a MergeFiles application that merges the integers ordered from low to high in two... |
Forum: Java Nov 3rd, 2009 |
| Replies: 1 Views: 245 I'm supposed to merge a ordered data of two files into a third file, keeping the data in order. I'm suppose to create a MergeFiles application that merges the integers ordered from low to high in two... |
Forum: Java Oct 27th, 2009 |
| Replies: 1 Views: 292 Does someone have the solution for this?
I know this isn't homework serice
I have no idea where to start off.......
I don't want a game of life applet, just simple codes that can compile and... |
Forum: Python Oct 9th, 2009 |
| Replies: 2 Views: 241 |
Forum: Python Oct 8th, 2009 |
| Replies: 2 Views: 241 I've got the codes all done;
so its looks like this:
public class RightTriangle {
public static void main(String[] args) {
Triangle shape = new Triangle();
... |
Forum: Java Oct 7th, 2009 |
| Replies: 3 Views: 179 So basically like just copy all the code that setBase had, and put it in with height? I don't mean replacing it I need the two methods. But when I put them together like im pretty much repeating the... |
Forum: Java Oct 7th, 2009 |
| Replies: 3 Views: 179 I got the first part correct but how do I put the get height into the second part? Like would I just repeat everything the base did.. like "private double height" " public void setHeight " etc...
... |
Forum: Java Oct 7th, 2009 |
| Replies: 3 Views: 213 oh.. How do i fix it?
I copied this example from the textbook.... so im not sure how to fix it. |
Forum: Java Oct 7th, 2009 |
| Replies: 3 Views: 213 It keeps highlighting the line "super(r);" I can't find whats wrong with it.... The Error says: 1 error found:
File: C:\Documents and Settings\HP_Administrator\My Documents\Anna - java\Disk.java ... |
Forum: Java Oct 7th, 2009 |
| Replies: 4 Views: 336 oh ok, I got now.. got it to output.
So it's like instead of running the constructor file(circle) run the actual code program instead.. k thx. I'll mark the other one solve too but I can't find... |
Forum: Java Oct 7th, 2009 |
| Replies: 4 Views: 336 What do u mean?
Like save it as that name? |
Forum: Java Oct 7th, 2009 |
| Replies: 12 Views: 337 oh... i see. I make another thread, its not about disk but this time I typed the code and the constructor (if thats what its called) the two files are in same pack. but it gives this error: Static... |
Forum: Java Oct 7th, 2009 |
| Replies: 4 Views: 336 I copied this code from the textbook, so the code should have no mistake? I typed the contructor file(I think thats what its called) and the actual codes. So the code looks like this:
public... |
Forum: Java Oct 7th, 2009 |
| Replies: 12 Views: 337 Oh i only copy that one part.....
Is that why its probably not working?
I need 2 files to make this program work? |
Forum: Java Oct 6th, 2009 |
| Replies: 12 Views: 337 I have dled the JDK.
Now I have Jdk and Drjava.
But now when I try to run this program there like like 14 errors.......
I don't get it.. |
Forum: Java Oct 6th, 2009 |
| Replies: 12 Views: 337 oh, thats probably why.... I only dled the Dr java. Ima dl the JDK then |
Forum: Java Oct 6th, 2009 |
| Replies: 12 Views: 337 Yea it is. accept on the top bar it says C://document and settings\HP_adminstrator\MyDocuments\TestDisk.java.. and it doesn't just say testDisk.java |
Forum: Java Oct 6th, 2009 |
| Replies: 12 Views: 337 How come this program doesn't run?
Well.. not just this program, all my other ones.
There are no mistakes, I wrote the code as this textbook says but its not running and its giving this error (on... |
Forum: Java Sep 29th, 2009 |
| Replies: 3 Views: 178 Okay thanks.
Would I need to indent all the codes below after I do the while loop? or just keep it the same? |
Forum: Java Sep 29th, 2009 |
| Replies: 3 Views: 178 I'm a newb in Java.
how do I make the loop stop when the user enters 0.
Is the codes right so far?
I can't seem to run it, theres 1 error saying (no source location)
The output is suppose... |
Forum: Python May 5th, 2009 |
| Replies: 3 Views: 302 hey thanks, but do you know how I can make it so when the user types 'break' it will exit instead of enter to exit |
Forum: Python May 4th, 2009 |
| Replies: 3 Views: 302 the topic is writing/reading text files, but i got this simple question. how do i make this program so it will look like this: http://i39.tinypic.com/5554wi.jpg i can't figure it out.
- to make... |
Forum: Python May 3rd, 2009 |
| Replies: 2 Views: 571 Hi all. I'm making a program about 'reading and writing text files'
The assignment I have to do is suppose to look like this: http://i39.tinypic.com/5554wi.jpg
But I can't figure it how to... |
Forum: Python Feb 26th, 2009 |
| Replies: 7 Views: 709 I've tried yours. It had a error... Why don't you use the one I showed you. I modified it. Instead of entering yes or no, i changed it to 1 or 2. Is that better?
import random
def dieroll():
... |
Forum: Python Feb 26th, 2009 |
| Replies: 7 Views: 709 Here is my way of doing it:
import random
def dieroll():
user_input = int(raw_input("How many random numbers do you want?\n"))
for each in xrange(user_input):
randomnumber =... |
Forum: Python Feb 26th, 2009 |
| Replies: 1 Views: 1,020 yea, this is long.. but how do i make this repeat?
At the end it's suppose to ask "do you want to do this again, y for yes, n for no" where yes is repeat from the beginning and no is exit. I think... |
Forum: Python Feb 26th, 2009 |
| Replies: 5 Views: 291 ahhhhhh I seee.... thanks! |
Forum: Python Feb 26th, 2009 |
| Replies: 5 Views: 291 lol, wow nice. Yours so much smaller than mine. |
Forum: Python Feb 25th, 2009 |
| Replies: 9 Views: 998 oh.. yea.. i get it .
Instead of using the 'if else elif' statement you just did the "answer=__" while answer thing. Thanks alot. |
Forum: Python Feb 25th, 2009 |
| Replies: 5 Views: 291 This is program i made (basic mash);
I want to make it so that the program will ask if you want to repeat it again. "n" = exit. and anything else makes it repeat.....can someone help me? I'm not... |