rodMorMTL

Sample module with boolean operators

Oct 21st, 2021
1,202
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void boolean_operators (int i, int j)
  2. {
  3.     /*Sample module with boolean operators */
  4.     if (i>0 && j>0){
  5.         while (i>j) {
  6.             if (i%2 && j%2)
  7.                 printf ("%d \n",i);
  8.             else
  9.                 printf ("%d \n",j);
  10.             i--;
  11.         }
  12.     }
  13. }
  14.  
RAW Paste Data