0

Can someone explain to me this control-flow structures..

the Sequential the Selection the Iteration constructs

10th Oct 2017, 4:44 PM
Nel John
Nel John - avatar
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;}
4th Jan 2018, 8:42 AM
Fahad
Fahad - avatar