Pages

Write A PROGAMME ON DENZ ARRAY FOR PRiNTiNG DAYS:

INPUT:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Denz_Array
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] array = { "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday" };
            foreach (string day in array)
            {
                Console.WriteLine("{0}", day);
            }
        }
    }
}


OUTPUT:


No comments:

Post a Comment