Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Programming The Air Pollution Index (API) is a common way to describe the air quality. Table 1 describes the simple scale used to classify

image text in transcribed

image text in transcribed

C++ Programming

The Air Pollution Index (API) is a common way to describe the air quality. Table 1 describes the simple scale used to classify the quality of air in Malaysia. API Air Quality 0 - 50 51 - 100 101 and above Good Moderate Unhealthy Table 1 In Peninsular Malaysia, haze is most likely to occur during the months from January to February and June to August due to human activities such as open burning, land clearing, vehicular use and combustion of fossil fuels in industrial boilers. During the last haze incident, the meteorological department had recorded API reading in a district for a week as shown in the Table 2: 6 120 Day 1 2 3 4 5 7 API 48 90 150 300 250 100 value Table 2: API reading for a week Your task is to write a program that contains the following tasks Declare an array APIvalue and initialize the array with the data based on Table 2. Compute and display the following information Description Number of day Good Moderate Unhealthy 1 2 4 (10 marks)

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_2

Step: 3

blur-text-image_3

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

Intelligent Information And Database Systems 6th Asian Conference Aciids 2014 Bangkok Thailand April 7 9 2014 Proceedings Part I 9 2014 Proceedings Part 1 Lnai 8397

Authors: Ngoc-Thanh Nguyen ,Boonwat Attachoo ,Bogdan Trawinski ,Kulwadee Somboonviwat

2014th Edition

3319054759, 978-3319054759

More Books

Students also viewed these Databases questions

Question

4. Describe the factors that influence self-disclosure

Answered: 1 week ago