Hello!
I muss create a diamond shape, with 4 (triangles). The first 2 i was able to make it, but 2 others not. So i need some beginners help.
//*
//**
//***
//****
//*****
for (int i=0;i<value-1;i++)
{
for (int j=0;j<=i;j++)
{
cout<<"*";
}
cout<<endl;
}
for(int a=0; a<value; a++)
{
for(int b=a; b<value; b++)
{
cout<<"*";
}
cout<<endl;
}
//*****
//****
//***
//**
//*