Guest User

Untitled

a guest
Jun 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. #include <stdio.h>
  2. main()
  3. {
  4.     int n;
  5.  
  6.     printf("Veuillez entrer un entier positif inferieur a 100: ");
  7.     scanf("%i",&n);
  8.    
  9.     while(n <= 0 || n > 100);
  10.     {
  11.         printf("ENTIER POSITIF SVP: ");
  12.         scanf("%i",&n);
  13.     }
  14.  
  15.     printf("Merci pour le nombre %i\n",n);
  16.  
  17.  
  18.  
  19.     return 0;
  20. }
Add Comment
Please, Sign In to add comment