int a[]={1,2,3,4,5,6};
for (i=0;i<5;i++)
{
a[i]=a[a+1]+a[i];
a[i+1]=a[i]-a[i+1];
a[i]=a[i]-a[i+1];
}
for(i=0;i<6;i++)
{
System.out.print(a[i]);
}
Answers
Answered by
2
Answer:
Hi ehat is your name
Explanation:
Answered by
2
Answer:
This programming is correct!
But the only thing is that you need to fill the brackets
Similar questions