0
Can someone explain to me this control-flow structures..
the Sequential the Selection the Iteration constructs
1 Answer
0
Sequential like
int a=10,b=20;
cout<<"Hello world";
selection is when you have to decide which code to run like
if(a>b)
{cout<<"Hello everybody";}
else
cout<<"Hey whats going on";
iteration are loops like while,for,do while.
for (i=0;i<10;i++)
{cout<<"Hey"<<endl;}