Simple Array Sum

  • + 0 comments

    Example input If you want to sum 6 numbers:

    6
    1 2 3 4 5 6
    

    First line 6 → there are 6 integers in the array Second line → the actual numbers