For Loop In C++

Loops are used to repeat the same pattern as per user requirements . In for loop we mention the number of repeated cycles at the time of loop starting.

Source Code

#include<iostream>
using namespace std;
int main ()
{
 for ( int i =0; i<5; i++ )
 {
  cout<<"\n  LEP Provides tutorial Free of cost :) ";
 }
}

Output of the Program

FOR LOOP IN C++

Share on Google Plus

About Asad

Asad Niazi is Software Engineer , Programmer, Web Developer and a young mentor of BloggersTown and PProgramming. Asad Love to writes about Technology, Programming, Blogging and make money online.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment