Computer Science   Your dev lead wants to plan a celebration for the 100th code war event that we have as a team. Since we only do code wars on the 5th Friday of the month what date will the 100th event fall on?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Computer Science

 

Your dev lead wants to plan a celebration for the 100th code war event that we have as a team. Since we only do code wars on the 5th Friday of the month what date will the 100th event fall on?

 

Include 4/29/22 as the first event day. USE C#

 

 

 

implement this code for the solution:

 

 

 

using System;

 

using System.Diagnostics;

 

 

 

namespace September

 

{

 

    /// <summary>

 

    /// April Code War

 

    /// </summary>

 

    class Program

 

    {

 

        /// <summary>

 

        /// Main method

 

        /// </summary>

 

        static void Main()

 

        {

 

            // Accuracy Test

 

 

            Console.WriteLine(Calculate100thFifthFriday());

 

            Console.WriteLine(Calculate100thFebruaryFifthFriday());

 

 

 

            Console.Out.WriteLine();

 

            Console.Out.WriteLine();

 

 

 

 

 

 

 

            // Speed Test

 

 

            Console.Out.WriteLine("Hit enter to start speed test");

 

            Console.In.ReadLine();

 

 

            Console.Out.WriteLine("Starting Speed Test");

 

 

 

            Stopwatch sw = new Stopwatch();

 

 

            sw.Start();

 

 

            for (int i = 0; i < 100000; i++)

 

            {

 

                Calculate100thFifthFriday();

 

            }

 

 

            sw.Stop();

 

 

            Console.Out.WriteLine("StopwatchTime:\t" + sw.ElapsedMilliseconds);

 

 

            sw.Restart();

 

 

            for (int i = 0; i < 100000; i++)

 

            {

 

                Calculate100thFebruaryFifthFriday();

 

            }

 

 

            sw.Stop();

 

 

            Console.Out.WriteLine("StopwatchTime:\t" + sw.ElapsedMilliseconds);

 

 

            Console.In.ReadLine();

 

 

        }

 

 

 

        // Change the signature of the following method as needed for your solution

 

 

        /// <summary>

 

        /// Finds candidate matches for a set of criteria

 

        /// </summary>

 

        /// <returns>Number of matching candidates for a set of criteria</returns>

 

        public static string Calculate100thFifthFriday()

 

        {

 

            return "";

 

        }

 

 

 

 

 

        /// <summary>

 

        /// Finds candidate matches for a set of criteria

 

        /// </summary>

 

        /// <returns>Number of matching candidates for a set of criteria</returns>

 

        public static string Calculate100thFebruaryFifthFriday()

 

        {

 

            return "";

 

        }

 

    }

 

}

Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY