SIMPLE C++ PROGRAM TO PRINT NO. FROM 1 T0 10 USING for LOOP
C++ programm
GREEN CODE IS MAIN PROGRAM
#include<iostream.h>
void main()
{
int i;
for(i=1;i<=10;i++)
{
cout<<"\n";
cout<<i;
}
}
Thanks for visiting...................
for(i=1;i<=10;i++)
{
cout<<"\n";
cout<<i;
}
}
Thanks for visiting...................
0 comments:
Post a Comment