The sum of 8 and y is greater than 26.
8 + y > 26
Prime number is a whole number that has no possible divisors that 1 and itself. Prime numbers are 2, 3, 5.7.11,13,17,19,23 and 29. From 1 to 10 there are 3 prime numbers: 3,5 and 7.
The probability can be calculated as the ratio between the number of "good" events and the total number of possible events. There are three "good" events (3,5 or 7) and 10 total events, so the probability that the spinner lands on a prime number is: 3/10. So, none of the given options is true.
Assuming we need to find i such that
1 ≤ i ≤ n and t[i]=i.
If we need to find only the first occurrence, we can do:
for i:1 to n {
if t[i]=i then return(i)
}
If exhaustive search is required, then put the results (values of i) in an array or a linked list, return the number of values found, and the array (or linked list).
P (A and B) = P(A) * P(B)...answer is D