Computer Science, asked by kisantiwari6148, 6 days ago

b) Based on the following data, find the values of the expressions [4 x 1 = 41 A B C D E F 1 Name Maths Physics Chemistry Total Percentage 2 Sakshi 85 82 90 3 Ankita 90 85 94 4 tim Priya 85 87 91 5 Akhila 89 83 88 6 Maximum Marks 7 Minimum Marks 1) In cell E2 as = SUM(B2:D2) and copy the function in cell E3 to E5 ii) In cell 12 as = (E2*100)/300 and copy the formula in cell F3 to F5 iii) In cell E6 as = Max(E2:E5) iv) In cell F7 as = Max(F2:F5)​

Answers

Answered by ombparmar1610
2

Answer:

M = int(input())

P = int(input())

C = int(input())

MP = M + P

MC = M + C

PC = P + C

if M >= 35 and P >= 35 and C >= 35 and (MP >= 90 or MC >= 90 or PC >= 90):

print('True')

else:

print('False')

Answered by yogeshpatil4251
1

Explanation:

Let M, P and C denote the students studying Mathematics, Physics and Chemistry

And U represents total students

So, n(U)=200,

n(M)=120,n(P)=90

n(C)=70,n(M∩P)=40,n(P∩C)=30

n(M∩C)=50,n(M∪P∪C)

=20

∴n(M∪P∪C)

=n(U)−n(M∪P∪C)

⇒20=200−n(M∪P∪C)

⇒n(M∪P∪C)=180

⇒n(M∪P∪C)=n(M)+n(P)+n(C)

−n(M∩P)−n(P∩C)−n(C∩M)+n(C∩M∩P)

∴180=120+90+70−40−30−50+n(C∩M∩P)

⇒180=280−120+n(C∩M∩P)

⇒n(P∩C∩M)=300−280=20

Hence, the number of students studying all three subjects is 20.

Similar questions