int a[ ] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
for (int i = 2; i <= 10;="" i++)="" {="" total="total" +="">=>
for (int i = 0; i < 10;="" i="2" *="" i)="" {="" total="total" +="">
for (int i = 9; i >= 0; i--) { total = total + a[i];}
for (int i = 9; i >= 0; i=i - 2) { total = total + a[i];}
for (int i = 0; i < 10;="" i++)="" {="" total="a[i]" –="">
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here