Adding two tables using arrays in java

Discussion in 'Java' started by doddlepeck, May 29, 2008.

  1. doddlepeck

    doddlepeck New Member

    Joined:
    May 29, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hi all, my project is in pending because of the one major task ..i connected two different databases and exported the values using separate excel sheet for each databse.Now i need to add both the tables from excel and output the value in third excelsheet.

    For ex ,

    Table 1

    service name failedcount totalcount

    partyadd 10 200
    partysub 20 100
    partydiv 10 300
    partypro 10 500
    partyval 0 200
    partysor 30 800


    Table 2

    service name failedcount totalcount
    partymul 10 200
    partysub 10 200
    partydiv 15 400

    now the output shoud be

    Table 3

    service name failedcount totalcount

    partyadd 10 200
    partysub 30 300
    partydiv 25 700
    partypro 10 500
    partyval 0 200
    partysor 30 800
    partymul 10 200



    Can anyone help me out in getting the array code to add two tables values ?Please revert me back if this question is not understandable.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice