-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6f5d37
commit 224e19a
Showing
311 changed files
with
2,132 additions
and
1,813 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# 布尔 | ||
Booleans can only have 2 values: 真 (true) or 假 (false). The value expresses the validity of a condition. | ||
```c | ||
打印行(真 和 真); // 真 because both statements are true. | ||
打印行(真 和 假); // 假 because one of the statements are false. | ||
打印行(真 或 假); // 真 because one of the statements is true. | ||
打印行(假 或 假); // 假 because none of the statements are true. | ||
打印行(真 和 真) // 真 because both statements are true. | ||
打印行(真 和 假) // 假 because one of the statements are false. | ||
打印行(真 或 假) // 真 because one of the statements is true. | ||
打印行(假 或 假) // 假 because none of the statements are true. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.