Day 3: Basic Probability Puzzles #8
Submissions will no longer be placed on the leaderboard. You may still attempt this problem for practice.
Objective
In this challenge, we practice calculating probability.
Task
In a certain city, the probability of a resident not reading the morning newspaper is , and the probability of a resident not reading the evening newspaper is . The probability they will read both newspapers is .
Find the probability that a resident reads a morning or evening newspaper.
Output Format
In the editor below, submit your answer as Plain Text in the form of an irreducible fraction , where and are both integers.
Your answer should resemble something like:
3/4
(This is NOT the answer, just a demonstration of the answer format.)
xxxxxxxxxx
11
1
2
3
4
5
6
int main() {
7
8
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
9
return 0;
10
}
11