lOMoAR cPSD| 52021443
Downloaded by Master Vincent ()
, lOMoAR cPSD| 52021443
Question 1
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The program contains an incomplete recursive function
raised_to_power(). This function returns the value of
the first parameter number of type float raised to the
value of the second parameter power of type int for all
values of power greater than or equal to 0.
The correct function header for the function
raised_to_power() is
Select one:
float raised_to_power(float
number, int power) int
raised_to_power(float number,
int power) float
raised_to_power(int number,
float power) float
raised_to_power(float number,
float power)
Feedback
Downloaded by Master Vincent ()
Downloaded by Master Vincent ()
, lOMoAR cPSD| 52021443
Question 1
Correct
Mark 1.00 out of 1.00
Flag question
Question text
The program contains an incomplete recursive function
raised_to_power(). This function returns the value of
the first parameter number of type float raised to the
value of the second parameter power of type int for all
values of power greater than or equal to 0.
The correct function header for the function
raised_to_power() is
Select one:
float raised_to_power(float
number, int power) int
raised_to_power(float number,
int power) float
raised_to_power(int number,
float power) float
raised_to_power(float number,
float power)
Feedback
Downloaded by Master Vincent ()