Hello friends,
am trying to find the sum of thenumbers in the array i trie the following code but didnt get the answer
public static void main(String args[]){
int k[] = {2,5,6,7,12,34,6,7,8,9,20,21,2,2};
int t = sum(k,0);
System.out.println("Sum = "+t);
can you guys help me

