
David W. answered 03/26/21
Experienced Prof
This function definition has siei-colons, curly braces, etc. depending on the language.
Here is the pseudo-code:
int F(int A, int B)
return int( ( (A**2 + B**2)/2 )
Note: Since F returns an integer value, the average is truncated (not rounded).