Advertisement
salahgo

Cin/Cout

Sep 26th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include<iostream>
  2. #include<cmath>
  3. using namespace std;
  4. int main ()
  5. {
  6.     int a;
  7.     cout<<"Donner un entier A"<<endl;
  8.     cin>> a;
  9.     if  (a>82&&a<102&&a%2 != 0) cout<<"Pas d'erreur";
  10.         else cout<<"Erreur";
  11.  
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement