HI i need help writing my output statement for fibonacci sequence so far i have how to get the sequence and i must output all array elements with 5 elements per line and in a field width of 10....can someone help me?
here is what i have so far:
for (int = 0; i < 30; i++)
{
cout << setw(10) << fib[i];
}
cout << endl;