View Single Post
  #1 (permalink)  
Old 11-15-2007, 06:32 PM
Shaolin Shaolin is offline
Member
 
Join Date: Nov 2007
Posts: 36
Shaolin is on a distinguished road
Adding numbers in array
Hi Guys,

How can I workout the sum of money from an array:

accs[0] = new Account( "Name here2", 121, 510 ) ;
accs[1] = new Account( "Name here", 12, 50 ) ;

I want to add the last 2 numbers for both items together to workout the total.
Reply With Quote
Sponsored Links