Saturday 23 August 2014

Infinite While Loops

Structure of the Problem Requirements 

In this problem we will learn how to make a loop infinite time running. This thing happen in loop when you make a strange change in loop and the conditional point can't touch the end point and going to iteration again and again . Here is the simple and small code of this problem which help you in better understanding .

Source Code  

#include<iostream>
using namespace std;
int main ()
{
int i=0;
while (i<5)
{
cout<<" \n LEP Developers Provide Best Online Help ";
}
}

Output of the Program

Infinite Loop
Infinite Loop


Share it Please
asad

About Author!

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.

1 comments: Post Yours! Read Comment Policy!▼
Important Note:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

  1. There are Many ways to define Infinite Loop but this one is simplest that's why I do this

    ReplyDelete