0

I'm looking for a few suggestions on different ways to input a polynomial into an array (coef[]) using a degree (double degree). I have one way that works, but my most recent project needs a new way to do the same thing (not sure why but it can't hurt to explore parts of the language that I don't know yet). Here's my current solution:

```
double coef[11];
int degree;
cout<<"Enter degree of the polynomial : ";
cin>>degree;
cout<<"Enter space separated coefficients starting from highest degree\n";
for(int i=degree;i>=0;i--)
cin>>coef[i];
```