Computer Science, asked by deepikagkgowda123, 9 months ago

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 Anonymous
1

Answer:

{60,70,80,40,50} is the output

Similar questions