SHARE
TWEET

ex 1 tp 8

a guest Apr 26th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #define repeat(nb) for (int _loop = 1, _max = (nb); _loop <= _max; _loop++)
  3. #define readint(nb) scanf("%d",&nb);
  4. int main()
  5. {
  6. int tableau[3];
  7. int nb=0;
  8. readint(nb);
  9. tableau[0]=1;
  10. tableau[2]=6;
  11. tableau[3]=8;
  12. printf("%d", tableau[nb]);
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top