Advertisement
Guest User

Untitled

a guest
Sep 25th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int a;
  6. cin>>a;
  7. cout<<showpos<<a;
  8. }
  9.  
  10. #include <iostream>
  11. using namespace std;
  12. int main()
  13. {
  14. int a,b;
  15. cin>>a>>b;
  16. if(a>b)
  17. cout<<a;
  18. else
  19. cout<<b;
  20. }
  21.  
  22. #include <iostream>
  23.  
  24. using namespace std;
  25.  
  26. int main()
  27. {
  28. int a;
  29. cin>>a;
  30. if(a%2==0)
  31. cout<<"even";
  32. else
  33. cout<<"odd";
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement