While Loop in C++
Cplusplus, While Loop in Cplusplus.
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++;
}
}
No comments:
Post a Comment