freeCodeCamp/guide/english/mathematics/counting/rule-of-sum/index.md

7 lines
283 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: Rule of Sum
---
## Rule of Sum
To say it simply, the Rule of Sum states that if we have A ways of doing something and B ways of doing another thing and we cannot do both at the same time, then there are A + B ways to choose one of the actions. Basic counting principle.