Search:

Type: Posts; User: LeeDD

Page 1 of 2 1 2

Search: Search took 0.46 seconds.

  1. Replies
    5
    Views
    269

    Re: Circular Queue Structures

    tru!!! i jus wanted to get past it
  2. Replies
    5
    Views
    269

    Re: Circular Queue Structures

    yea but is on book.. i hav not placed it in any compiler.. its jus a general outline of how it should work.. i jus wan kno if these implementations will work as a circular structure
  3. Replies
    5
    Views
    269

    Circular Queue Structures

    I Jus wanna Kno if my code is correct? if there is any errors please let me know


    front = -1
    rear = -1
    size = 0


    // Enqueue circular structure
  4. Thread: Array Looping

    by LeeDD
    Replies
    13
    Views
    285

    Re: Array Looping

    ooooooh
  5. Thread: Array Looping

    by LeeDD
    Replies
    13
    Views
    285

    Re: Array Looping

    Sum of them are for the headers.
  6. Thread: Array Looping

    by LeeDD
    Replies
    13
    Views
    285

    Re: Array Looping

    oh aight.. i kno it as new line

    --- Update ---

    i loop thru the row with this

    for( int row = 0; row < array.length; row++)

    and apparently it keeps printing column header more than once....
  7. Thread: Array Looping

    by LeeDD
    Replies
    13
    Views
    285

    Re: Array Looping

    ok then thanks.. i'll tell you whats up with it after im done

    --- Update ---

    Can i ask what exactly do u mean by end line.. i dont wanna be unsure
  8. Thread: Array Looping

    by LeeDD
    Replies
    13
    Views
    285

    Re: Array Looping

    Salesp1 salesp2 salesp3 salesp4 Total

    prod1 500 150 575 500 1725
    prod2 200 700 175...
  9. Thread: Array Looping

    by LeeDD
    Replies
    13
    Views
    285

    Array Looping

    I Cant Seem To Figure Out Where To Put My Loop For Row Totals.. It Ends Up With Number Repetitions n errors.. the code in italics is supposed to represent row totals but i tried placing it every...
  10. Thread: Arrays

    by LeeDD
    Replies
    12
    Views
    398

    Re: Arrays

    Thanks.. very helpful.. solved. i was reading wrong!!
  11. Thread: Arrays

    by LeeDD
    Replies
    12
    Views
    398

    Re: Arrays

    aight thanks norm!! i was kinda close to this idea

    --- Update ---

    keeping track means just putting a limit on how much elements the array will use?

    --- Update ---

    is that what yu are...
  12. Thread: Arrays

    by LeeDD
    Replies
    12
    Views
    398

    Re: Arrays

    i be tryna figure this thing out trying all kinds of things but still aint gettin it.. but thanks
  13. Thread: Arrays

    by LeeDD
    Replies
    12
    Views
    398

    Re: Arrays

    using a loop
  14. Thread: Arrays

    by LeeDD
    Replies
    12
    Views
    398

    Re: Arrays

    sorry but i still doont get it
  15. Thread: Arrays

    by LeeDD
    Replies
    12
    Views
    398

    Re: Arrays

    im wondering if i hav to make numelt as a copy of the array and then assign it to all records functions? or do something completely different from what im suggesting i do
  16. Thread: Arrays

    by LeeDD
    Replies
    12
    Views
    398

    Arrays

    Modify the stats class created in the previous assignment to allow it to store and analyze data sets of different sizes. it should now have an array that holds 100 double values instead of 12. An...
  17. Thread: Arrays sorting

    by LeeDD
    Replies
    13
    Views
    317

    Re: Arrays sorting

    still seem that it has a liltle prob can u figure it out



    public static void main(String[] args)
    {

    int [] [] totals = { {500, 150, 575, 500},
    ...
  18. Thread: Arrays sorting

    by LeeDD
    Replies
    13
    Views
    317

    Re: Arrays sorting

    i've tried all of these don't seem to work.. i was wondering if i need another control statement and where to put it

    --- Update ---

    ok thanks norm.. i tried adding new line somewhere i hadn't...
  19. Thread: Arrays sorting

    by LeeDD
    Replies
    13
    Views
    317

    Re: Arrays sorting

    current ouput:


    Overall Sales Distribution:

    SalesP1 SalesP2 SalesP3 SalesP4 Total
    Prod1 500 150 575 500Prod2 200 700 175 200Prod3 300 75 100 400Prod4 100 185 ...
  20. Thread: Arrays sorting

    by LeeDD
    Replies
    13
    Views
    317

    Re: Arrays sorting

    *(Total Sales) Use a two-dimensional array to solve the following problem:
    * A company has four salespeople (1 to 4) who sell five different products (1 to 5).
    * Once a day, each salesperson...
  21. Thread: Arrays sorting

    by LeeDD
    Replies
    13
    Views
    317

    Re: Arrays sorting

    setting up the loop i guess...
    i tried new line characters every where wont work.
    i've come to the conclusion now that i need a new loop or control statement
    to go to new line after reading every...
  22. Thread: Arrays sorting

    by LeeDD
    Replies
    13
    Views
    317

    Re: Arrays sorting

    SalesP1 SalesP2 SalesP3 SalesP4
    prod1
    prod2 and then the array numbers here to match row n columns
    prod3
    prod4
    prod5
  23. Thread: Arrays sorting

    by LeeDD
    Replies
    13
    Views
    317

    Arrays sorting

    I'm really stuck right now..
    like 2 hrs now, im tryna figure out a way to get this array in tabular format but its super difficult.
    dont really like asking for help but im always grateful for it.....
  24. Thread: Arrays

    by LeeDD
    Replies
    6
    Views
    212

    Re: Arrays

    ok then thanks.. i will send u the question and then my coding..

    --- Update ---

    thanks very much!! the tutorial is exactly what i had need..
  25. Thread: Arrays

    by LeeDD
    Replies
    6
    Views
    212

    Re: Arrays

    does it need a constructor?
Results 1 to 25 of 28
Page 1 of 2 1 2