feat: content line break (#7131)

Updating formatting. Placed summary on a new line.
fix/progress
Nicholas Zingleman 2 months ago committed by GitHub
parent 7754f7a576
commit 6ccbde99fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      src/data/roadmaps/datastructures-and-algorithms/content/101-programming-fundamentals/101-control-structures.md

@ -3,4 +3,5 @@
Control structures are fundamental elements in most programming languages that facilitate the flow of control through a program. There are three main types of control structures: Sequential, Selection and Iteration. Control structures are fundamental elements in most programming languages that facilitate the flow of control through a program. There are three main types of control structures: Sequential, Selection and Iteration.
- **Sequential** control structures are the default mode where instructions happen one after another. - **Sequential** control structures are the default mode where instructions happen one after another.
- **Selection** control structures (often called "conditional" or "decision" structures) allow one set of instructions to be executed if a condition is true and another if it's false. These typically include `if...else` statements. - **Selection** control structures (often called "conditional" or "decision" structures) allow one set of instructions to be executed if a condition is true and another if it's false. These typically include `if...else` statements.
- **Iteration** control structures (also known as _loops_) allow a block of code to be repeated multiple times. Common loop structures include `for`, `while`, and `do...while` loops. All these control structures play a vital role in shaping the program logic. - **Iteration** control structures (also known as _loops_) allow a block of code to be repeated multiple times. Common loop structures include `for`, `while`, and `do...while` loops.
All these control structures play a vital role in shaping the program logic.

Loading…
Cancel
Save