+ 1

What are Control Structures and what do they do?

15th Aug 2020, 6:09 PM
Juan Jurado
Juan Jurado - avatar
3 Respostas
+ 3
A control structure is like a block of programming that analyses variables and chooses a direction in which to go based on given parameters. The term flow control details the direction the program takes. 👇This could help you more👍😊 https://www.geeksforgeeks.org/control-structures-in-programming-languages/
15th Aug 2020, 6:45 PM
SOUMYA
SOUMYA - avatar
+ 2
Control structures are all the statements that manipulate the flow of execution in your program, the most basic ones are conditions (if, else) and loops (for, while, break, continue). You will find the same in most programming languages.
15th Aug 2020, 6:30 PM
Tibor Santa
Tibor Santa - avatar
+ 2
You can make a condition for the execution of your code or execute until reached some conditions .Controls help a lot to test owr code or to check if a validate value is true or false or execute for a wanted time so make limits to the running thread with flow control.
15th Aug 2020, 6:37 PM
HBhZ_C
HBhZ_C - avatar