fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int x=1;
  7. int note=0;
  8. cout<<"Ajouter une note"<<endl;
  9. cin>>note;
  10. if(note%2==0){
  11. cout<<"la note est paire"<<endl;
  12. }
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5348KB
stdin
Standard input is empty
stdout
Ajouter une note
la note est paire