Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int m,n;
- printf("Enter the value of m: ");
- scanf("%d",&m);
- if(m==1)
- {
- printf("n=0");
- }
- else if(m==0)
- {
- printf("n=1");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement