Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

Enter the no of elts in sample space :5

Enter the no of elts in A:3


Enter the no of elts in B:2
Enter the S;
Element 1:1
Element 2:2
Element 3:3
Element 4:4
Element 5:5

Enter the A:
Element 1:1
Element 2:2
Element 3:3

Enter the B:
Element 1:3
Element 2:4

Menu:
1.AUB
2.A^B
3.A~
4.B~
5.Print S,A,B
6.Exit

U=(1,2,3,4)
^={3}
a={4,5}
b={1,2,5}
S={1,2,3,4,5}
A={1,2,3}
B={3,4}
INDEX

PROGRAM TO IMPRLEMENT BEST FIRST SEARCH

PROGRAM TO IMPRLEMENT A STAR ALGORITHM

PROGRAM TO IMPRLEMENT AO STAR ALGORITHM

PROGRAM TO IMPRLEMENT OPERATION ON SETS

You might also like