For Loop
Let's see How to Use For Loop with example:-
#include<iostream.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=0;i<=5;i++)
{
cout<<"Anand Nayak"<<endl;
}
getch();
}
#include<iostream.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=0;i<=5;i++)
{
cout<<"Anand Nayak"<<endl;
}
getch();
}
Post a Comment