Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(void)
- {
- int x=1,y=0;
- printf("x=%d",x);
- printf("y=%d\n",y);
- printf("1代表真,0代表假\n");
- printf("-----------------------\n");
- printf("x and y ==>%d\n",(x&&y));
- printf("x or y ===>%d\n",(x||y));
- printf("===================");
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment