Saturday 14 February 2015

FOR LOOP IN C++

Structure of the Problem Requirements 

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 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.

0 comments:

Post a Comment