5. Predict the output:
int a[ ] = {10,20,30,40,50);
for(i=0;i<=2;i++)
a[i] = a[i]+a[4]
System.out.println(a[i]);
Answers
Answered by
1
Answer:
{60,70,80,40,50} is the output
Similar questions