#include
using namespace std;
int main()
{
int row, column, n;
cin >> n;
for (row = n; row >= 1; row–)
{
for (column = n; column >=n-row; column–)
{
cout << “*”;
}
cout<< endl;
}
cout << endl;
return 0;
}
every time i am giving input it is printing an extra star in first and one less in the end…this is fully not based on this pattern but it is realted to this…can you correct my code please

