Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The transboundary smoke haze hos become a major concern in Malaysia as it had a wide tanging impact from the aspect of public health to
The transboundary smoke haze hos become a major concern in Malaysia as it had a wide tanging impact from the aspect of public health to national economics. Air Polutant Index (API) is an index developed in providing easily comprehensible information about the air pollution level. API is its concentration expressed as a percentage of the relevant air standard. Pollutant concentration and standard level is an integer value. The API calculation formula: Index=PollutantStandardLevelPollutantConcentration100 The API value gives an indication of the ar quolity as shown in Table 1: Table 1: Air Pollutant index As a programmer at your company, you are assigned to develop an application system that will notify the public about the current air condition in Malaysio. Based on the cose study and the information given in Table 1. you are required to construct a Java program for the API calculation system, which consists of main, read the pollutant concentration, read the pollutant standard level and print the output which will print the air pollution index and the status
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started