# C++每日一题 Day 4 我喜欢这个数

***

lhy版权所有，禁止转载

### 知识点：逻辑运算符/分支结构复习

***

## 题目描述

一些数字可能拥有以下的性质：

* 性质 1：是偶数；
* 性质 2：大于 4 且不大于 12。

阿肝喜欢这两个性质同时成立的数字；小树苗喜欢这至少符合其中一种性质的数字；王杨喜欢刚好有符合其中一个性质的数字；小熊喜欢不符合这两个性质的数字。

分别输出这 4 个人是否喜欢这个数字，如果喜欢则输出`1`，否则输出`0`，用空格分隔

## 输入

1个整数(<1000)

## 输出

4个整数

## 输入输出样例

**输入**

```
12
```

**输出**

```
1 1 0 0
```

***

## 回答要求

* 附上你完成本程序的完整代码
* 分别尝试用`scanf`/`printf`和`cin`/`cout`两种方式做本题的输入输出
* 这题是复习题，给之前学的内容做个总结，应该没问题了吧


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.mcyou.cc/c++-mei-ri-yi-ti/c++-mei-ri-yi-ti-day-4-wo-xi-huan-zhe-ge-shu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
