Files
freeCodeCamp/guide/chinese/logic/conditional-and-biconditional-statements/index.md
2018-10-16 21:32:40 +05:30

9 lines
770 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Conditional and Biconditional Statements
localeTitle: 有条件和双条件陈述
---
## 有条件和双条件陈述
**条件声明:** “如果”。如果有一件事是真的,那么别的东西是真的或者可能发生。 _例如_如果现在下雨那么地面会变湿。 _然而_ ,相反(“如果地面潮湿,那么正在下雨”)并不一定如此。
**_Bi_** **条件语句:** “当且仅当”。如果有一件事是真的,那么其他事情就是真的;如果那个别的东西是真的,那么有一点是真的。考虑它的另一种方式是两件事既是真的,也都是假的(不是一个是真的,另一个是假的)。 _示例_当且仅当其边长均为4米时正方形的面积为16立方米。