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++;
}
}
Output of the Program
Asad Niazi is Software Engineer , Programmer, Web Developers and a young mentor of Tech Solutions Desk and Blogging Solutions . Asad Love to writes about Technology, Programming, Blogging and make money online.
0 comments:
Post a Comment