Using pseudocode:
printArray(arr[], integers)
DECLARE integers
integers = SizeOf(arr)
FOR i = 1 to integers // loop from 1 to the number of elements in arr[]
print(i)
print('')
i = i + 1
ENDFOR
END
Answer:
19/72
Step-by-step explanation:
To calculate the probability that a randomly-chosen child from this group likes either Chess or Swimming but not Football?
We already know the number that liked chess only which is 10, we have to solve for those that liked swimming only which is
8+7+16+x = 40
x which represent swimming only is
40-31 = 9
Thus probability = 10/72 + 9/72 = 19/72
Answer:
The correct answer is A. 9.4 inches.
Step-by-step explanation:
Given that the volume of a boys' basketball is 434 cubic inches, and Dan would like to get a ball with half the volume for his son, to determine what is the diameter of the ball that Dan will buy for his son, the following calculation has to be done, knowing that the volume of a sphere is four thirds multiplied by pi multiplied by the radius cubed:
4/3 x 3.14 x X ^ 3 = 434
4.186 x X ^ 3 = 434
X ^ 3 = 434 / 4.186
X = 3√ 103.662
X = 4.7
In turn, since the radius of a sphere is equal to half its diameter, the diameter of the basketball is 9.4 inches (4.7 x 2).