Forum: Java Mar 1st, 2009 |
| Replies: 12 Views: 637 The name is a joke not a conceited egotistical statement of any sorts. And I'm not taking any courses right now I saved all of these worksheets from an AP Computer Science online course I found a way... |
Forum: Java Feb 27th, 2009 |
| Replies: 12 Views: 637 Hey guys I just ran into some pretty interesting java problems on a different website and thought some of you might get a kick out of this. Determining on how well this goes I may post some more. So... |
Forum: Java Jan 14th, 2009 |
| Replies: 1 Views: 486 I was given a movie list, and I was asked to make a program to retrieve information from it and eventually modify the program to find certain movies. Right now I have a Collection class and a Movie... |
Forum: Java Dec 15th, 2008 |
| Replies: 26 Views: 1,913 Snobbish remarks with assistance doesn't justify your self-righteousness, veruckt24. I know you're making a conscious decision to help me with this and I am very appreciative, but to become upset... |
Forum: Java Dec 12th, 2008 |
| Replies: 26 Views: 1,913 No need to be haughty; I'm just trying to follow curriculum to the best of my ability. Now I'm going to have to devise a makeshift program over an array or loop. Here's what I have changed, trying... |
Forum: Java Dec 9th, 2008 |
| Replies: 26 Views: 1,913 I'm going to reformat this in a new manner:
Going to go to the high if as i had before, try all combos, then print highest result.
Then I'll go to the low and do the same with the least. I will... |
Forum: Java Dec 5th, 2008 |
| Replies: 26 Views: 1,913 Thanks for the help, and someone told me that I should use the (input == #); over what I had to eliminate an error. This was to read the input from the user to determine if they want to find the... |
Forum: Java Dec 5th, 2008 |
| Replies: 26 Views: 1,913 Okay I'm kind of stuck on this if-else statement. I chose to just give the correct ones directly, since looping would be too difficult to fabricate. Right now I get an error "else without if" for:
... |
Forum: Java Dec 3rd, 2008 |
| Replies: 26 Views: 1,913 I'm supposed to use BlueJ and its supposed to be a three-way multiplication, so I was hoping there could be some kind of loop I could use for this. An example for the maximization would be:
(90 + 6)... |
Forum: Java Dec 2nd, 2008 |
| Replies: 26 Views: 1,913 The values 90, 80, 70 and 10, 20, 30 have a lot to do with the program because im trying to find the highest possible combination of 9n, 8n, and 7n so it'd be (90 + n) * (80 + n) * (70 + n) where... |
Forum: Java Dec 1st, 2008 |
| Replies: 12 Views: 1,540 Hmmm... well, I'm getting an error on my code on the line
public static void main(String[] args)
and I checked all of my {'s. The error says "class, interface, or enum expected".
public class... |
Forum: Java Dec 1st, 2008 |
| Replies: 26 Views: 1,913 I've been given a project in which I have to find the highest and lowest possible product using 3 2-digit numbers without repeating any numbers.
For example, the algorithm for the highest would... |
Forum: Show Off your Projects Nov 25th, 2008 |
| Replies: 11 Views: 6,374 Hey Anil, I'm currently enrolled in a very basic java class, and was wondering if you could help me out with a few simple projects over my Thanksgiving break. If you or anyone else can help me out,... |
Forum: Java Nov 25th, 2008 |
| Replies: 12 Views: 1,540 Im new at java, so using these terms doesn't really help me out too much. I mean, you could possibly couple what you mean with relative code, whether it be for my program or just a sample. Thanks... |
Forum: Java Nov 20th, 2008 |
| Replies: 12 Views: 1,540 Okay well I tried moving the declarations for dieRollOne, Two, and Three outside of the loop, and no troubles. But now, when I tried moving the access modifiers outside of the method, it says I need... |
Forum: Java Nov 20th, 2008 |
| Replies: 6 Views: 1,175 Try youtube or something or just googles for free torrents of Java training videos. It won't be legal, as far as the torrents, but it may help. |
Forum: Java Nov 20th, 2008 |
| Replies: 12 Views: 1,540 What do you mean by access modifiers? I get what you said about the variable declaration inside the loop. I also still get an error for private Random myDie; and I don't know why. |
Forum: Java Nov 20th, 2008 |
| Replies: 12 Views: 1,540 Okay so the program I was asked to design requires the simulation of rolling three dice and printing out the outcome of each turnout while adding to a counter until all three dice are different... |
Forum: Java Nov 13th, 2008 |
| Replies: 10 Views: 981 Lol, you guys are so snarky and unhelpful.
I do know how to program, but its just that the class moves too fast. I could do this assignment, yet
I'm falling behind because it takes me too... |
Forum: Java Nov 10th, 2008 |
| Replies: 10 Views: 981 This class is moving too fast and I only know simple Java programming so far, but we're getting into multiple classes for this savings account program. If anyone can do this I will spam +rep on your... |
Forum: Java Oct 27th, 2008 |
| Replies: 12 Views: 1,375 Thanks a lot I finally came back around to this program and got it to work. Rep power for you and thread solved. |
Forum: Java Oct 24th, 2008 |
| Replies: 12 Views: 1,375 Yeah I used proper coding for my powers and square roots, yet when I compile it still returns an error message saying i need a ; after fToC = (5 / 9)(f - 32);. |
Forum: Java Oct 24th, 2008 |
| Replies: 12 Views: 1,375 Okay I have that down now I just don't understand the ';' needed error on a line of code that has one. I'll try using the power code to try and fix this before coming back for help, but so far so... |
Forum: Java Oct 24th, 2008 |
| Replies: 12 Views: 1,375 How would I identify a method? I tried putting it in a public static void main(String[] args) but now theres a line of code (fToC = (5 / 9)(f - 32);) that keeps displaying the error message of ';'... |
Forum: Java Oct 24th, 2008 |
| Replies: 12 Views: 1,375 I already asked what he meant by methods I've never used Java before but I took a VB class last year. Please explain what code I need to move if you can it'd be greatly appreciated. |
Forum: Java Oct 24th, 2008 |
| Replies: 12 Views: 1,375 Does the way I used with the ^'s still work? Also, what do you mean by putting certain code in methods? |
Forum: Java Oct 23rd, 2008 |
| Replies: 12 Views: 1,375 I was asked for my AP Comp Sci online course to construct a program that would calculate fahrenheit to celsius and vice versa, the volume of a sphere given the radius, and the hypotenuse of a right... |
Forum: Java Oct 22nd, 2008 |
| Replies: 7 Views: 2,994 Well all I need to do is make a double like 23.5 to be 23.50 and longer ones like 23.556 to be 23.55 or 23.56. Would I do this as doublevalue = Math.round(2);? I seriously just started programming... |
Forum: Java Oct 22nd, 2008 |
| Replies: 8 Views: 1,156 Okay I finally got it working and I'm awarding Chaster reputation for solving it. His line of code was the one that solved my program problem. Thanks! |
Forum: Community Introductions Oct 21st, 2008 |
| Replies: 5 Views: 555 I was joking I'm actually a Senior at Rising Sun High School in Cecil County in Maryland taking an AP Computer Science course online. I have absolutely no instructor and I am given limited amount of... |
Forum: Java Oct 21st, 2008 |
| Replies: 7 Views: 2,994 So exactly how would I write this? Would I type in the variable I would like rounded and then Math.round(), or visa versa? |
Forum: Java Oct 20th, 2008 |
| Replies: 7 Views: 2,994 If I have an output of any double or integer that needs to be rounded to a certain number of decimal places, how would I code that? As always there are many ways to do this but, again, as always,... |
Forum: Java Oct 20th, 2008 |
| Replies: 8 Views: 1,156 The introduction I gave about me attending Princeton was supposed to be a joke. My colleagues and myself wanted to admire the ridiculous (if any) responses to obvious inconsistency, but as far as... |
Forum: Java Oct 16th, 2008 |
| Replies: 8 Views: 1,156 I've recently taken up an AP Computer Science class online for Maryland State education at my high school, and was wondering if I could receive help on a few of the projects. Most of them are simple... |
Forum: Community Introductions Oct 15th, 2008 |
| Replies: 3 Views: 444 Where does your mother live now?
Kisses (for her),
The Java GOD!!! |
Forum: Community Introductions Oct 15th, 2008 |
| Replies: 2 Views: 326 I think you could become a very well developed and distinguished member of our Java programming family here at the forums, yet I regret to inform you that I can't understand or follow any of the... |
Forum: Community Introductions Oct 15th, 2008 |
| Replies: 5 Views: 555 I'm at my Senior year in college attending Princeton University. I was accepted in with an SAT score of 1590 (on the old SAT's) and a GPA of 4.54 (4.0 unweighted). I also received numerous honors for... |