Write down program which will find the smallest of three numbers. Make sure the values of three integers should lie between 100 and 500 both inclusive.
Answers
Answered by
1
Answer:
Explanation:
The general formula for the union of 3 sets is:
(A union B union C) = A + B + C – (A intersect B) – (A intersect C) – (B intersect C) + (A intersect B intersect C).
Assuming,
A = 3, B = 5, C = 7
= 500/3 + 500/5 + 500/7 – 500/3*5 – 500/5*7 – 500/7*3 + 500/105
= 271
Similar questions