Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main() {
- int n[8] = {1, 2, 3, 5, 8, 10, 14, 127};
- for(int a=0; a!=8; a++) {
- if(n[a] & 1) {
- std::cout << "No" << std::endl;
- }
- else {
- std::cout << "Yes" << std::endl;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement