[B]#include<iostream>
using namespace std;
int main()
{
int n,i,space,column;
char a= '&';
cout<<"Enter the number of rows: "<<endl;
cin>>n;
for(i=n;i>0;i--)
{
for(space=0;space<n-i;space++)cout<<" "; [COLOR="Blue"]//assigning spaces[/COLOR]
cout<<a<<" "; [COLOR="Blue"]//Writing the "&" character after assigning spaces[/COLOR]
for(column=i-1;column>0;column--)cout<<a<<" "; [COLOR="Blue"]//writing the "&" character in the columns
[/COLOR]
cout<<endl;
}
cin.ignore();
cin.get();
return 0;
}[/B]
#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
int i,j,k,n;
cout<<"Enter rows:";
cin>>n;
for(i=0;i<=n-1;i++)
{
for(k=0;k<=i;k++)
cout<<" ";
for(j=n-1;j>=i;j--)
cout<<" &";
cout<<endl;
}
getch();
}