M1RAI

EX1

Oct 23rd, 2020
668
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int a=3,b,c;
  7.     float d;
  8.     a=a*5;
  9.     printf("a=%d",a);
  10.     a=a+1;
  11.     b=a;
  12.     printf("\n b vaut %d et a vaut %d",b,a);
  13.     c=b;
  14.     b=b+1;
  15.     printf("\n c vaut %d et b vaut %d",c,b);
  16.     d=a*a;
  17.     printf(" %d au carrée = %d",a,b);
  18.     return 0;
  19. }
RAW Paste Data