Search:

Type: Posts; User: jjd712

Search: Search took 0.13 seconds.

  1. Replies
    4
    Views
    625

    Re: How to rearrange an array?

    Thanks to everyone that helped. Worked fine!
  2. Replies
    4
    Views
    625

    How to rearrange an array?

    Hey guys, in my journey through java i ran in to a bit of a problem.

    How do i rearrange a array?


    // Enter values to test here
    String[] s = { "from", "first", "to", "last" };
    ...
  3. Problems with a "if-then and if-then-else" statements

    import java.util.*;
    import java.io.*;
    public class TEster {

    /**
    * @param args
    */
    public static void main(String[] args) {
    int x;
    char Guess;
  4. Replies
    3
    Views
    296

    Re: Java cant find symbols?

    yeah i caught myself with e and f. that is fixed now. removing the.java worked and the code ran without errors. Thanks a bunch!
  5. Replies
    3
    Views
    296

    Java cant find symbols?

    Here is the code that is giving me problems. im trying to write code that will find the distence between two points. but i get the cannot find symbol error on lines 27-29(when i start doing math).
    ...
  6. Replies
    11
    Views
    1,341

    Re: Some simple help please!

    Ok, ill try and find one that works.

    Thanks for the help.
  7. Replies
    11
    Views
    1,341

    Re: Some simple help please!

    Um i.. don't know. :confused:

    This might help, its all i'm really given
    1411
  8. Replies
    11
    Views
    1,341

    Re: Some simple help please!

    um, i did not add a import statement b/c i assumed the complier in eimacs already had that. I would need to use
    import java.lang.Math; right?
  9. Replies
    11
    Views
    1,341

    Re: Some simple help please!

    // Enter a value to test here
    double a =6.05000001 ;
    double b;

    // Enter your code here
    b = Math.round(a,1);

    After running this error occurs:

    TC1.java:16: cannot find...
  10. Replies
    11
    Views
    1,341

    Some simple help please!

    Some background... this is my second week in java and so far its going great in my comp sci class, but some of the eIMACS labs are killing me.



    In the following code segment, a and b are...
Results 1 to 10 of 10