Cplus

< /code >





CPLUS MOD1       course cody

BASIC START

Suryansh Nadda

nody



  

for loop- for loop is the control flow statement which allows the code to execute repeatedly. example- if we want to print values from 1 to 100, so instead of using the print statement(cout<<"1";) multiple times we will use the for loop which will make our task easy.

weak internet connection




  

do while- do while loop is also the control flow statement which executes the code atleast once and rest depending upon the while condition.

weak internet connection




  

We use multiple for loops here and one for loop is contained int the body if other for loop

weak internet connection




  

if-else if-else statement is used to test the condition. if block is executed if the condition is true. Otherwise the else block is executed.







other avilable courses

codenody