title: Creating calendar with array and loops using C#
body: <p>I'm trying to create an application that tells you the day of the week (Monday, Tuesday, etc;) when a date from 2016 is entered (January 1, September 3rd, etc;) Input is the date, output is the day of the week for that date. It has to be created with loops such as a for loop and if statements. I cannot use library functions. Starting date is January 1st, 2016, a Friday. This is what I have so far, i'm pretty lost:</p>
  
  <pre><code>    public enum Days : byte { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday };
      public enum Months : byte { January, February, March, April, May, June, July, August, September, October, November, December };
      class Program
      {
          public static void Main(string[] args)
          {
              const int numDays = 7;
              const int numMonths = 12;
              Months month = Months.Janurary;
              int monthCounter = 1;
              int[] daysinMonth = new int[numMonths] { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
              int[] daysofWeek = new int[numDays] {1, 2, 3, 4, 5, 6, 7};
              Days dayOfWeek = Days.Sunday;
              dayOfWeek = Days.Friday;
              foreach (month in Months )
              {
  </code></pre>
  
  <p>My brief is:</p>
  
  <blockquote>
    <p>Using only the tools we have covered to date, find the weekday name of a specific date in 2016, working from Friday January 1 2016, using nested loops and comparisons.</p>
  </blockquote>