Little Fighter Empire - Forums
Java BlueJ Homework Help Worksheet 3 - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: General Zone (https://lf-empire.de/forum/forumdisplay.php?fid=23)
+--- Forum: Programming (https://lf-empire.de/forum/forumdisplay.php?fid=50)
+--- Thread: Java BlueJ Homework Help Worksheet 3 (/showthread.php?tid=6482)



Java BlueJ Homework Help Worksheet 3 - qwertz143 - 05-27-2011

Worksheet 3 (Click to View)
Please help me in this cant get it...
very bad in java


RE: Java BlueJ Homework Help - Divisor - 05-27-2011

We're not here to do your homework, we have our own lives too.


RE: Java BlueJ Homework Help Worksheet 3 - qwertz143 - 05-27-2011

just need help


RE: Java BlueJ Homework Help Worksheet 3 - Hero destroyer - 05-27-2011

Divisor Wrote:We're not here to do your homework, we have our own lives too.
I agree, but still, some member DO have time.
TO qwertz143:
If you have good friends, ask them.(Not just in the forum, you may use google to help, too)
Sorry, I can't help either.


RE: Java BlueJ Homework Help Worksheet 3 - Silverthorn - 05-27-2011

Whilst this is a forum to discuss that kind of problems, there is one major flaw in your approach. Most importantly, which already has been mentioned, we're not here for doing your homework. Secondly, IF you have a problem, be as specific as possible. Don't simply make us do your stuff. You will later regret it.


RE: Java BlueJ Homework Help Worksheet 3 - Alectric - 05-28-2011

whatever happened to google?


RE: Java BlueJ Homework Help Worksheet 3 - Boop - 05-28-2011

(05-28-2011, 12:09 AM)Alectric Wrote:  whatever happened to google?

Google doesn't provide the exact answer to each problem, he'd have to read and comprehend the information and then apply it to solve the problems. In which case he is probably better off reading the notes in class which are probably shorter since they don't contain a bunch of stuff which isn't required.

Also, has anyone actually read these? There is definitely stuff missing from this and most of the questions are just wrong....

Quote:4. Calculate the number of passengers and the total amount collected as a fare for an underground metro station whose charges are as follows.
*blablablalbal*

Seriously wut? How the hell are you meant to calculate the passengers? There is no information given. If you are meant to determine the number of passengers based on the total amount paid, then it's impossible because kids under 5 don't pay anything creating infinite solutions basically. And if you are given the total amount, why would you need to calculate it? Who the hell writes this sh*t.



RE: Java BlueJ Homework Help Worksheet 3 - qwertz143 - 05-28-2011

no ur supposed to make a program so that the person using the program has to fill in the info and the program calculates it.
its a BufferedReader statement
BufferedReader buffy=new (InputStreamReader (System.in))


RE: Java BlueJ Homework Help Worksheet 3 - Azriel - 05-28-2011

basically your homework is a lot of

    JAVA-Code:
System.out.println("Information");
System.out.println("Give me input x1");
X x1 = Integer.parseInt(input);
System.out.println("Give me input x2");
X x2 = Integer.parseInt(input);
X answer = x1 * x2; // replace with correct formula
System.out.println("Answer: " + answer);


where X is the type of input, usually int
input is the String input the user has typed (obtained using the buffered reader method)
and answer is the answer.

re-statement: we're not here to do your homework, we're here to help with stuff like
my answer isn't correct, but i'm sure my formula to calculate it is



Azriel~


RE: Java BlueJ Homework Help Worksheet 3 - qwertz143 - 06-02-2011

so do i have to use BufferedReader at all?