Search:

Type: Posts; User: Melawe

Search: Search took 0.07 seconds.

  1. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    How do I do that?
  2. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    It worked!!! :D Thanks everyone!!!! :D
  3. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    Okay thanks!
  4. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    Okay thanks, um what IDE would you recommend? I was using Netbeans but the last few updates came with a few Trojans and other Spyware. :/
  5. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    Yea thats true, so the code should look like this at the end?

    System.out.println("The square root of 300 plus the square root of 146 is ");
    double z =(x^1/2 + y^1/2 );
    ...
  6. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    anyone got a clue whats wrong with it?
  7. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    It did it! :D


    System.out.println("The square root of 300 plus the square root of 146 is ");
    double z =Math.sqrt(x + y);
    System.out.print(z);
    run:
    The squate root of...
  8. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    Here is the what I get when Netbeans compiles it:

    run:
    The squate root of 300 is 17.320508075688775
    The square root of 146 is 12.083045973594572
    The square root of 300 + 146 is
    0BUILD...
  9. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    Sorry there was a mistake in the code
    System.out.println("The square root of 300 plus the square root of 146 is ");
    double z = x + y;
    System.out.print(z);
    I am trying to...
  10. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    I tried this
    System.out.println("The square root of 300 + 146 is ");
    double z = x + y;
    System.out.print(z);
    and this
    System.out.println("The square root of 300 + 146 is...
  11. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    I think so I got what you mean I will try it asap.

    Thanks

    -Melawe
  12. [SOLVED] Re: Problem with a tutorial program(Adding the answer of two squared numbers together

    Here is an online text book version InformIT: Sams Teach Yourself Java 2 in 24 Hours > Activities
    It is the 4th edition thou i am using the 6th.
  13. [SOLVED] Problem with a tutorial program(Adding the answer of two squared numbers together)

    Hi every one! :D

    I just got a book about a week ago on Java, and its going great! I just can't find how to add an x integer squared and a y integer squared. Here is the code i currently have :

    ...
Results 1 to 13 of 13