/*CODING A PROGRAM FOR LOGIC GATES*//
#include<stdio.h>
#include<conio.h>
int x,y,z;
//printf("Enter value of x");
scanf("x:",&x);
//printf("Enter value of y");
scanf("y:",&y);
And(int,int)
if(x==1&&y==1)
printf("z=1");
else
printf("z=0");
Or
if(x=0&&y==0)
printf("z=0")
else
printf("z=1");
Not
if(x==0)
printf(z=1)
else
printf(z=0)