Advertisement
labib24

Untitled

Jan 13th, 2023
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int m,n;
  5.     printf("Enter the value of m: ");
  6.     scanf("%d",&m);
  7.     if(m==1)
  8.     {
  9.         printf("n=0");
  10.     }
  11.     else if(m==0)
  12.     {
  13.         printf("n=1");
  14.     }
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement