Write a program to show menu options

Assignment Help C/C++ Programming
Reference no: EM132355047

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: EM132355047

Questions Cloud

Employer wants you to convince : An employer wants you to convince him that it would be worthwhile for the company to continue paying for your education, what will you say?
Looming social security insolvency issue : What do you think is the best approach to deal with the looming Social Security insolvency issue? What are its pros and cons?
Better expansionary fiscal approach : Which do you think is a better expansionary fiscal approach for our current situation: cutting taxes or increase spending? Give the pros and cons of your stance
How does this contribute to ccc equipment problems : Collin County Community College (CCC) has an ongoing problem that the electronic equipment in their classrooms and computer labs keeps malfunctioning
Write a program to show menu options : Write a program to show menu options that allow the user to display - The highest to the lowest CO2 reading and their corresponding times for a selected
How does this affect the amount you could capture : In Argentina, if you do not reach an agreement with the government distributors, you can set up a less efficient Internet-based distribution system
What are the major challenge experience iranian : What are the major challenge experience Iranian to adopt Australian culture?
Various fees and charges of mutual fund investing : How can we find the right one for us? How can we evaluate mutual funds? What are the various fees and charges of Mutual Fund Investing?
Shrinking and the upper-lower classes growing : Is the Middle -class shrinking and the upper & lower classes growing? Is this a cause for our increasing polarization in the country?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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