# Basics of Sets and Relations #2

# Basics of Sets and Relations #2

shyambhimani + 3 comments i am entering right answer but some how it showing me worng asnwer. i think i am having problem in formet. could any one show me sample formate in which we have to write answer?

beemercanuck + 1 comment Use plain text

pavima1965 + 0 comments plaintext is also not working

brandon_loza15 + 0 comments it is asking you the answer of similar element in A AND B

pavima1965 + 1 comment i too dont know..anyone an please explain..

rose_ + 0 comments

vijayasrich + 1 comment Answer is '5'

Because the elements of A U B are 2,3,4,5,6. The count would be 5.

aaa123123 + 0 comments [deleted]

jamesdeny665 + 0 comments Norton is a very well-known antivirus software program. It keeps our data safe and secure. It protects our data from various types of online threats such as viruses, malware issues and many more. Download norton.comset/setup with product key to get more benefits and offers. Norton 360 is an advanced version of Norton setup. Norton 360 is a very well-known antivirus software program. It keeps our data safe and secure. Download Norton 360 from here Norton 360 Product key.

pru18 + 0 comments I simply used the below code it worked fine

`int count=0; int a[]={1,2,3,4,5,6}; int b[]={2,3,4,5,6,7,8}; for(int i=0;i<6;i++) { for(int j=0;j<7;j++) { if(a[i]==b[j]) { count++; } } } System.out.print(count);`

mrc_fard + 0 comments select count(*) from (select * from a intersect select * from b) as m

Sort 17 Discussions, By:

Please Login in order to post a comment