User Profile

Collapse

Profile Sidebar

Collapse
MonolithTMA
MonolithTMA
Last Activity: Jan 31 '07, 02:16 AM
Joined: Jan 27 '07
Location: Canton, Ohio
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • MonolithTMA
    replied to Inventory Woes
    in Java
    Thanks! I really apreciate your help.

    I just added the line:

    Code:
    onlyCDData.T = (onlyCDData.T + onlyCDData.invTotalValue[i]);
    and that did it!

    I knew it was something simple.

    So, I could make the entire class an array? That makes sense. Time to do some more reading now.

    Thanks again!

    Best regards,
    Mike
    See more | Go to post

    Leave a comment:


  • MonolithTMA
    replied to Inventory Woes
    in Java
    In my zealousness to present clean, nice looking code, I managed to remove.

    Code:
    float[] cdPrice;
    class CDData is actually:

    Code:
    class CDData {
    	String[] cdName;
    	int[] cdQuantity;
    	int[] cdNumber;
    	float[] cdPrice;
    	double[] invTotalValue;
    	double T;
    }
    See more | Go to post

    Leave a comment:


  • MonolithTMA
    started a topic Inventory Woes
    in Java

    Inventory Woes

    Greetings all,

    I am new here, and aside from my introductory post, this will be my first.

    I am working on an Inventory program for a class I am taking. I've searched the forums here and have seen other people working on the same or similar projects, but the problem I run into is that in Java, there seems to be more than one way to skin a cat. (No cats were harmed in the writing of this post.)

    I am able...
    See more | Go to post
No activity results to display
Show More
Working...