programplug Logo




C++ Do While Loop


The do-while loop works in the same way as the while loop except that the condition is checked at the end of the loop.


do
{  
   statement;
   statement;
}
while(condition)  


 
#include 
void main()
{    
   int i=1;      
   do{    
        cout<<"This Is No\n"<< i ;    
        i++;    
     }
	 while(i<=5);   
}  

output:-
This Is No 1
This Is No 2
This Is No 3
This Is No 4
This Is No 5






Our Services

Developing Cheapest Websites
Offer Digital Marketing
Provide College Projects
Attractive Website Developing
Summer Training,Industrial Training
SCO,SMO

Contact Us

Dehradun Uttarakhand India
www.programplug.com
info@programplug.com
08534019974
Designed By : Mridul Gupta

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy