Top
/
/
Answer-03A-2
Answer to Question 03A-2
int m = max(x,y); int x = m*m + 1;
As you can see, you can store a value into a variable to avoid computing it twice.