Better way to output days of the week between other functions
<p>I am new to c++.  What is a better way to do this?  I am trying to output the days of the week and also put functions between the days. I want to output Monday separate from outputting the other days of the week.</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
#include &lt;ctime&gt;

using namespace std;



void day(char* name[]);



    int main()
    {


    char* dayNames[] =
        { "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday",  
        "Sunday"};

    day(dayNames);
    day(dayNames + 1);
    day(dayNames + 2);
    day(dayNames + 3);
    day(dayNames + 4);
    day(dayNames + 5);
    day(dayNames + 6);
    system ("pause");
    return 0;
}
void day(char* name[])
{

    int n = 0;
    if (n &gt;=0 &amp;&amp; n &lt;= 6)
        {
            cout &lt;&lt; "Today is " &lt;&lt; name[n] &lt;&lt; "." &lt;&lt; endl;
            cout &lt;&lt; endl;
        }
}
</code></pre>
