M1RAI

EX2

Oct 23rd, 2020
662
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 lon,lar,sur;
  7.     printf("longueur=");
  8.     scanf("%d",&lon);
  9.     printf("\n");
  10.     printf("largeur=");
  11.     scanf("%d",&lar);
  12.     printf("\n");
  13.     sur=lar*lon;
  14.     printf("le rectangle dont la longeur mesure %d metres et la largeur mesure %d metres, a une surface egale a %d metres carre",lon,lar,sur);
  15.  
  16.  
  17. }
RAW Paste Data