Joined
Last Seen
-3 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
0 Endorsements
Ranked #25.0K
Re:
/*CODING A PROGRAM FOR LOGIC GATES*// #include<stdio.h> #include<conio.h> [CODE] 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) [/CODE] |