Select Query
I hope this helps! :)
I believe programmer would be your answer! If there is a multiple choice, please tell me in the comments of this answer!
The answer is A:the body’s ability to be efficient during movement.
Answer:
public static void swapPairs(int[] a){
int len=a.length;
if(len%2 ==0){
for(int i=0; i<len; i=i+2){
a[i]=a[i+1];
a[i+1]=a[i];
int[] b={a[i]+a[i+1]};
}
}
if(len%2 !=0){
for(int j=0; j<len; j=j+2){
a[j]=a[j+1];
a[j+1]=a[j];
a[len-1]=a[len-1];
int[] b={a[j]+a[j+1]+a[len-1]};
}
}
}
public static void printArray(int[] a){
System.out.println(a);
}
Answer:
The answer is "A) Age in 20 years"
Explanation:
Assuming currentAge is declared and is an integer, you are adding 20 to your current age which means it will print your age in 20 years.