orlandoju

Ejer3_tp2

Mar 31st, 2022
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(void){
  5.  
  6. int numero;
  7.  
  8. cout<< "Ingrese un numero: " ;
  9. cin>> numero;
  10. if(numero%2==0){
  11. cout<<"Es PAR";
  12. }
  13. else{
  14. cout<<"Es IMPAR";
  15. }
  16. return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment