if int a={7,3,2,3,5}. Write output of the following program segment . for(i=0;i<=2;i++) { s=a[i]+a[i+1]; System.out.println(s); } PLS help me, friends, it's urgent
Answers
Answered by
1
Answer:10.
Explanation:
s=a[0]+a[0+1]
s=7+3
therefore,s=10.
Similar questions
Math,
4 months ago
Hindi,
4 months ago
Political Science,
4 months ago
Math,
8 months ago
Social Sciences,
8 months ago
Hindi,
11 months ago
Social Sciences,
11 months ago
Math,
11 months ago