Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please write the code in C# thanks! The following table shows the information of five facilities in a community Opening time (hour: minute 07:00 09:00

image text in transcribed

please write the code in C# thanks!

The following table shows the information of five facilities in a community Opening time (hour: minute 07:00 09:00 01:00 06:00 08:00 Closing time (hour: minute) 22:00 18:00 23:59 21:00 17:30 Identification Type Pool Tennis court Pool Pool Tennis court Design and develop a C# project that satisfies the following requirements: 1. Two classes shall be created for each type of facility: Tennis Court, and Pool 2. Pool has a public statie data member pool count (of type int), which keeps track of the total number of pools 3. Tennis Court has a public static data member tennis court count (of type int), which keeps track of the total number of tennis courts 4. Each pool (and tennis court) has an opening time and a closing time. Opening time and closing time are object of the class Time 6. The driver shall perform the following tasks in the order specified a. Initialize the static members pool_count and tennis_court_count to 0, and display them b. Instantiate the five objects listed in the table c. Display the values of pool count, and tennis_court_count. d. Display each facility's identification, type, opening time and closing time using ToString0 functions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial And Temporal Databases 8th International Symposium Sstd 2003 Santorini Island Greece July 2003 Proceedings Lncs 2750

Authors: Thanasis Hadzilacos ,Yannis Manolopoulos ,John F. Roddick ,Yannis Theodoridis

2003rd Edition

3540405356, 978-3540405351

More Books

Students also viewed these Databases questions

Question

How is coaching similar to counseling? How are the two different?

Answered: 1 week ago

Question

Explain the importance of nonverbal messages.

Answered: 1 week ago

Question

Describe the advantages of effective listening.

Answered: 1 week ago

Question

Prepare an employment application.

Answered: 1 week ago