Question
guysss this is my 3rd time posting...I want you guys to add also the the file input output it is a very big thing can
guysss this is my 3rd time posting...I want you guys to add also the "the file input output" it is a very big thing can you guys Google it and understand it and then do ZZ..btw this is C coding I want you guys to include the G tooooo
must contain all of this in the coding ( C program) a. Comment b. Indentation c. Simple input and output (printf scanf) d. Formatted input output e. Loop f. Array g. File input output h. Function (three categories function, return value function, void function only with passing argument, void function with passing argument and return parameter value). Use them appropriately.
just do coding as I said and don't forget about the file input output Thingy basically it's a C program must contain all of this in the coding ( C program) a. Comment b. Indentation c. Simple input and output (printf scanf) d. Formatted input output e. Loop f. Array g. File input output (this one pls don't forget) h. Function (three categories function, return value function, void function only with passing argument, void function with passing argument and return parameter value). Use them appropriately.
QUESTION 1 Environmental pollution has primarily been traced back to urbanization and industrial developments around the globe. Air pollution has now been identified as one of the significant problems confronting metropolitan regions of any country, where its administrators and residents have long been dealing with potential harm to air pollution, such as the health of their citizens. The occurrences of pollutants have gone up, the concentration of PM2.5, PM10, SO2, NO2, CO, O3 are through the roof. It has been identified as some of the worst air quality standards since 1999 and potentially the worst air quality throughout the world (Om Patra et al 2020). Write a C program that will calculate the AQI and categorize the air quality of a particular area based on Figure 1. AQI AQI AQI Color 03 (ppb) Category (8hr) (1hr) (ug/m) PM2.5, PM102 (ug/m) 0-50 Good Green 0-64 0 - 15 0-54 51-100 Moderate Yellow 65 - 84 16 -40 55 - 154 85 -104 125 - 164 41 - 65 155 - 254 Unhealthy 101-150 for Sensitive Orange Groups 151-200 Unhealthy Red 105 - 124 165 - 204 66 - 150 255 - 354 201-300 Very Unhealthy Purple 125 - 374 205 - 404 151 - 250 355 - 424 301+ Hazardous Maroon | 405 - 604251 - 500 425 - 604 Figure 1: Categorization of air quality You need to study and find the equation for calculating the AQI value (Refer many resources from Internet Eg https://fit.thequint.com/health-news/explaining-air-quality- index). You may create your own data or use internet data. Introduction to File Input and Output What we need? Steps: Create the file Open the file Use the file (read from, write to, or both) Close the file Input file 5-6/22 Output file Program Input & Output file Introduction to File Input and Output Creating file Creating an internal name that declaring a variable for the file - using pointer data type, FILE fpTemps #includeStep 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