Search:

Type: Posts; User: help_desk

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,271

    Re: Errors in my Simple Java code

    Ok, I now tried to work around the error but I guess I must have misunderstood how to work with double dimension arrays in Java. I have two different arrays as follows :

    private static int weight...
  2. Replies
    5
    Views
    1,271

    Re: Errors in my Simple Java code

    Oh stupid me! thanks. I didn't even see it that my using a double array was affecting it. I just was wondering why my comparing the value of a double array and a double value was wrong until you...
  3. Replies
    5
    Views
    1,271

    Errors in my Simple Java code

    Hi,

    I have this simple java code:



    public class PriceAndWeight {

    //price on the first line and weight on the second line
    private static double DoubleDimentionArrayA[][] =...
Results 1 to 3 of 3