Symmetric Distinction and so forth.
#embody
#embody void most important()
{
int i,j,okay,p,ch,n1,n2,set1[10],set2[10], set3[20],flag;
char want;
clrscr();
do
{
printf(“press 1 for union”);
printf(“npress 2 for intersection”);
printf(“npress 3 for subtraction”);
printf(“n enter ur alternative”);
scanf(“%d”,&ch);
swap(ch)
{
case 1://for union
printf(“nenter the scale of set1n”);
scanf(“%d”,&n1);
printf(“enter the component of set1n”);
for(i=0;i { printf(” %d”,set3[k]); } break; case 2: //for intersection printf(“enter the scale of sets1”); scanf(“%d”,&n1); printf(“enter the component of set1”); for(i=0;i { printf(” %d”,set3[k]); } break; case 3://for subtraction printf(“enter the scale of sets1”); scanf(“%d”,&n1); printf(“enter the component of set1”); for(i=0;i { printf(” %d”,set3[k]); } break; } printf(“n need to proceed: “); flushall(); scanf(“%c”,&want); } whereas(want!=’n’); } //prg terminates
Supply projectgeek.com