What should be the method declaration to fill in the blank below, which should return the higher of two imputed float values?

_____________________
{
float result; if (num1 > num2) result = num1;
else result = num2;
return result;
}