I have doubt in space how i can add space after * please explain when
#include
using namespace std;
int main()
{
int i,j,n,s,c;
cin>>n;
c=n/2;
for(i=1; i<=n/2+1; i++)
{
s=c;
while(s>0)
{
cout<<" ā;
sā;
}
cā;
for(j=1; j<=i2-1; j++)
{
cout<<"ā;
}
cout<<endl;
}
c=1;
for(i=n/2; i>=1; iā)
{
s=c;
while(s>0)
{
cout<<" ā;
sā;
}
c++;
for(j=i2-1; j>=1; jā)
{
cout<<"ā;
}
cout<<endl;
}
return 0;
}
Doubt Regarding Space
Hi! To find out what I can do, say @discobot display help
.