Answer:
Explanation:
try numpy:
import numpy as np
print(np.average([3, 4, 8]))
output:
5.0
My school requires us to use Arial and double space it but we have to use font size 30 for title and 24 for the paragraphs.
I'd go for <span>
FLOOR(x) </span>
The numerical function FLOOR(x) can be used to return the
largest integer value that is less than or equal to the numerical expression
provided. The numerical function CEILING (x) is the opposite of FLOOR(x) since
it gives the smallest integer value that is greater or equal to the numerical
expression.
Not sure what quizScore1-5 is, but here it is. Also, I'm not entirely sure what language you're working with here, but null can't be returned as an integer. If it were a string, for example, it'd be possible as string is an object reference type.
public int getData(int dataNumber)
{
if (dataNumber == 1)
return quizScore1;
else if (dataNumber == 2)
return quizScore2;
else if (dataNumber == 3)
return quizScore3;
else if (dataNumber == 4)
return quizScore4;
else if (dataNumber == 5)
return quizScore5;
else
return 0;
}