Results 1 to 4 of 4

Thread: help me with arrays... hu hu hu

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Location
    Penang
    Posts
    4

    Red face help me with arrays... hu hu hu

    write a procedure to calculate the column total and the the row total only. Use the array table below. The table is declared as mcItems (1 to 4, 1 to 5)

    Code:
    No of items                            Row total
    5  7  8  3  2                                  25
    4  2  3  8  2                                  19
    5  1  6  0  5                                  17
    4  6  8  9  2                                  29
    
    Column Total
    18 16 25 20 11
    i wrote a procedure about printing the total.. but my lecturer wants to store the total value.. i haven't hav a clue!
    please
    Last edited by si_the_geek; Nov 27th, 2006 at 11:09 AM. Reason: added Code tags for clearer formatting

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width