Total no. of outcomes = 30
Even numbers upto 30 are (2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30)
Odd numbers upto 30 are (1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29)
Total no. of favourable outcomes(both even and odd numbers) = 30
Let E be the event of getting a number which is either odd or even.
Probability P(E) = Number of outcomes favorable to ENumber of all possible outcomes of the experiment
∴ P(selected no. is either even or odd)=3030=1