I don´t know what seed is, but you don´t actually need it for the output that you have.
The problem is in your output function:
1 2 3 4 5 6 7 8 9
void output(int height, int seed){
for (int a = 1; a<= height; a++) // go through height, not seed
{
for (int b= 1;b <= a;b++)
cout << b;
cout << endl;
}
}