E-BOOKBANK
Saturday, 27 August 2011
#include<iostream.h>
#include<conio.h>
int main()
{
const int N=10;
for(int i=0;i<N;i+)
{
for(int j=0;j<2*N;j++)
if(j<N-j||N+j)
{
cout<<" ";
}
else
{
cout<<"*";
}
cout<<"\n";
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment