Solution:NIIT/GNIIT Sonugiri0032@gmail.com

Wednesday, January 06, 2016

While Loop in C++

While Loop in C++


Structure of the Problem Requirements  

While loop check the condition first and then perform its iteration . But overall loops has the same function the only difference is when we deal with too much complex scientific problem .

Source Code

#include<iostream>
using namespace std;
int main ()
{
 int i=0;
 while (i<5)
 {
  cout<<i<<" .LEP is Best Platform for begineers " <<endl;
 i++;
 }
 }
Share:

0 comments:

GNIITSOLUTION GNIIT SOLUTION. Powered by Blogger.

Translate

Blog Archive

Unordered List