int a[] ={4,1,7,2,9}; int s=0; a[1]=a[2]; for( int i=0;i<5;i=i+1) { s=s+a[i];} System.out.print(s)
Answers
Answered by
0
Answer:
ans = 9
Explanation:
that's all. Do the math yourself
Similar questions