From a9b6e010437ea3c8bf98956b43b0c4e25f82d67c Mon Sep 17 00:00:00 2001 From: Lucas Dondo <59975541+LucasDondo@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:54:16 -0300 Subject: [PATCH] Enhanced readability of text (#6702) --- .../101-programming-fundamentals/101-control-structures.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/datastructures-and-algorithms/content/101-programming-fundamentals/101-control-structures.md b/src/data/roadmaps/datastructures-and-algorithms/content/101-programming-fundamentals/101-control-structures.md index 8d6802589..0cd062a42 100644 --- a/src/data/roadmaps/datastructures-and-algorithms/content/101-programming-fundamentals/101-control-structures.md +++ b/src/data/roadmaps/datastructures-and-algorithms/content/101-programming-fundamentals/101-control-structures.md @@ -1,3 +1,6 @@ # Control Structures -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. 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. \ No newline at end of file +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. +- **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.