#include <iostream.h>
void main()
{
int i , j , n = 1 ;
for(i=1 ; i<5 ;)
{
for (j=1 ; ; j++)
{
cout<<n<<" ";
n++ ;
if (j >= 5)
break;
}
i++;
}
}
Labels: C++ Basic Codes, C++ Codes
Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies| |
---|
0 comments:
Post a Comment