Answer:
public static int average(int j, int k) {
return (int)(( (long)(i) + (long)(j) ) /2 );
}
Explanation:
The above code returns the average of two integer variables
Line 1 of the code declares a method along with 2 variables
Method declared: average of integer data type
Variables: j and k of type integer, respectively
Line 2 calculates the average of the two variables and returns the value of the average.
The first of two integers to average is j
The second of two integers to average is k
The last parameter ensures average using (j+k)/2
Answer:
Just answered this to confirm my profile.
Explanation:
I dont have a clue, this is just to confirm my profile.
Find the solution in the attachments
Note: Question was incomplete, so the complete question is added in the attachments.
Hey there ..
I think the answer is as they put brake ..
I am not sure .. just check the image also provided above .. ..
If u think this helped u ..plz mark me as brainliest ..
And follow me
A single car has about 30,000 parts, counting every part down to the smallest screws