Skip to content

Sequential

Sequential control flow

In structured programming, the ordered sequencing of successive commands is considered one of the basic control structures, which is used as a building block for programs alongside iteration, recursion and conditionals.

1
2
3
double l = 4;
double area = l * l;
std::cout << "Area: " << area << '\n';

1
2
3
double l = 4;
double area = l * l;
std::cout << "Area: " << area << '\n';

1
2
3
double l = 4;
double area = l * l;
std::cout << "Area: " << area << '\n';

Share Snippets