Write a program to show menu options

Assignment Help Other Subject
Reference no: EM132353670

Assignment - CO2 Viewer

The CO2 levels of a particular day in different classrooms in school are recorded in Table 1. Such daily CO2 data will be fed from external sources (external data file) as arrays.

The following CO2 data (parts per million - ppm) of different classrooms for 10th Nov 2018 is extracted from school data.

Table 1:

Classroom

7am

8am

9am

10am

11am

12pm

1pm

2pm

3pm

4pm

5pm

6pm

EN10-6-48

560

750

1800

1650

2000

850

800

1300

1850

1600

840

750

EN14-5-68

850

1560

1600

1780

1980

700

850

2200

780

830

750

550

EN14-5-69

650

790

2000

1850

2000

1600

850

700

1200

850

800

800

EN21-6-110

900

600

1950

1300

1800

950

1200

960

1900

1890

890

850

EN23-7-130

550

1670

850

1560

1600

1500

850

700

1200

820

750

650

In your project, declare initialized arrays with the above data values.

CO2 health advisory descriptors:

CO2 range

0 - 800

801 - 1200

1201 - 1500

1501 - 2500

More than 2500

Descriptor

Superior

Very Good

Average

Marginal

Dysfunctional

Write a program to show menu options that allow the user to display:

1. CO2 reading of classroom EN23-7-130 for a selected time.

2. Average CO2 reading of a selected classroom from 1pm - 5pm.

3. Maximum CO2 readings among classes for a selected time.

4. The unhealthiest CO2 reading (1501 and above) and the corresponding classroom(s) from 7am to 12pm.

5. The highest to the lowest CO2 reading and their corresponding times for a selected classroom.

Reference no: EM132353670

Questions Cloud

What effect human resources processes have on patient care : Examine what effect their human resources processes have on patient care. Identify major human resources challenges the organization has faced.
An explanation of the hydrologic cycle : An explanation of the hydrologic cycle. How rivers, glaciers and groundwater are affected by climate change
Definitions of both mechanical and chemical weathering : Definitions of both mechanical and chemical weathering. Explanation of the relationship between chemical and mechanical weathering
Did your position on the selected social issue change : We have conflict all around us. Refer to the concepts in Looking Out Looking In (LOLI) and Becoming a Critical Thinker (BCT). For this assignment.
Write a program to show menu options : Write a program to show menu options that allow the user to display: CO2 reading of classroom EN23-7-130 for a selected time
Describe actions to take in relation to identified risks : NVQ Level 3 Diploma Health and Social Care-Move and Position Individuals in Accordance with their Plan of Care-Describe actions to take in relation to identify.
Methods of investigating-documenting work-related injuries : Importance and methods of investigating and documenting work-related injuries as an element of the worker's compensation claim process.
Deluxe golf bag on a weekly basis : Par, Inc., produces a standard golf bag and a deluxe golf bag on a weekly basis. Each golf bag requires time for cutting and dyeing and time for sewing
Should medical marijuana be legalized : Essay over should medical marijuana be legalized nationally? Should Medical Marijuana Be Legalized?

Reviews

Write a Review

Other Subject Questions & Answers

  Explain how you applied social work practice skills

Explain how you applied social work practice skills when performing the activities during your process recording.

  Compare each organization use of information systems

Compare each organization's use of information systems to help manage internal operations and to make decisions. Assess how these two organizations.

  Find the 2018 platforms of the republican party of texas

Do party platforms really mean anything? Is there really any difference?Find the 2018 platforms of the Republican Party of Texas and the Texas Democratic Party.

  Discuss the therapeutic techniques for each approach

Compare and contrast the key differences and similarities between views of human nature and therapeutic techniques for each approach.

  Practice the skill of careful revision and refinement

Write an essay about a pair of items in which the similarities and differences of those items are compared and contrasted in the style described within Unit.

  Why the data has potential value to an investigation

For the first step in this project, prepare a memo (2 pages in length) that summarizes possible locations of valuable digital forensic information.

  Discuss the relation of syndicated and organized crime

Define enterprise crime and discuss the relation of syndicated and organized crime with governmental crime, White Collar Crime, and finance crime

  How many edges must a connected graph with vertices

COMP 9020 - Assignment - How many edges must a connected graph with n vertices and 1 face have? Draw the truth table for (p o q) o (p o q)

  Structure tree-the children put the toy in the box

The children put the toy in the box. Martha found a lovely pillow for the couch. The ice cream in the cup melted. The reporter realized that the news is old.

  Find an example of a recent major decision

Find an example of a recent major decision that was made based on assumptions that turned out to be incorrect.

  Dangerousness to self criterion for civil commitment

Which of the following statements is true of the "dangerousness to self" criterion for civil commitment?

  Discuss the core set of doctrines concepts and principles

Discuss the core set of doctrines, concepts, principles, and organizational process that NIMS represents to enable effective, efficient, and collaborative incident management at all levels.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd