title: How to declare day?
body: <p>How do I declare the day in my code? Not only Sunday, but other days too.</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  int main() {
    int temperature;
    char day = SUNDAY;
  
    cout &lt;&lt; "Enter your body temperature:" &lt;&lt; endl ;
    cin &gt;&gt; temperature ;
  
    cout &lt;&lt; "Enter what day:" &lt;&lt; endl ;
    cin &gt;&gt; day ;
  
    if ((temperature &gt; 40 ) &amp;&amp; (day == SUNDAY))
        cout &lt;&lt; "Take sick certificate" &lt;&lt; endl ;
    else if (temperature &gt; 40 )
        cout &lt;&lt; "Do a light work" &lt;&lt; endl ;
    else if (temperature &gt; 50 )
        cout &lt;&lt; "Go to hospital!" &lt;&lt; endl ; 
    else
        cout &lt;&lt; "Go to work" &lt;&lt; endl ;
  
    system("PAUSE");
    return 0 ;
  }
  </code></pre>