Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java BlueJ Homework Help Worksheet 3
#9
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~
Reply
Thanks given by: qwertz143 , blow_fly98


Messages In This Thread
RE: Java BlueJ Homework Help - by Divisor - 05-27-2011, 01:44 PM
RE: Java BlueJ Homework Help Worksheet 3 - by Azriel - 05-28-2011, 09:09 AM



Users browsing this thread: 3 Guest(s)