Math, asked by aaraviicr7, 6 months ago



Among 30 Computer Science students, 15 know JAVA,12 know C++and 5 know
both. How many students know at least one of the two languages and none of
the languages.​

Answers

Answered by Kusumagowda
0

Answer:

5

Step-by-step explanation:

Total Computer students =30

Number of students who know JAVA =15

Number of students who know C++=12

Number of students who knows both the languages=5

Number of students who don't know one of the language =0

So the answer is 5.

I hope this answer will help you

If you like to thank me then like my answer

And

Don't Forget

To mark me as the brainliest

Answered by qwmillwall
0

22 students know at least one of the two languages, and

8 students know none of the languages.

Given,

Students know JAVA n(J) = 15

Students know C++ n(C) = 12

Students know both  (J ∩ C) = 5

To Find,

Students know at least one language n(J ∩ C)

Solution,

We shall use the formula:

n(A ∪ B) = n(A) + n(B) – n(A ∩ B)

n(J ∪ C) = n(J) + n(C) – n(J ∩ C)

\implies n(J \cup C) = 15+12-5\\\implies n(J \cup C) = 22

Therefore, 22 students know at least one of the two languages.

Now, calculate the number of students that know none of the languages:

Total students - n(J ∪ C)

\implies 30-22\\\implies 8

Therefore, 8 students know none of the languages.

#SPJ3

Similar questions