Assume that nitrate concentration of 10.99 mg/L is not good for human consumption. In this regard, the Gambia Water Company Limited (GWCL) decided to monitor the concentration of nitrate in the Gambia district. The GWCL then mounted a nitrate sensor to read the concentration of nitrate in this basin at one hour interval for 24 hours. The readings are fed into a C program through a keyboard. Write a C program that implements a void type function, that accepts no parameter, to perform the following tasks: Declare an array Nitrate of 24 components of type double to store the readings from the nitrate sensor,initialize the array with input from the keyboard so that all 24 components are filled ,output the array so that an element per line is printed and if an element in the array is greater or equal to 10.99 mg/L, then display that element with its array index on the screen.
Assume that nitrate concentration of 10.99 mg/L is not good for human consumption. In this regard, the Gambia Water Company Limited (GWCL) decided to monitor the concentration of nitrate in the Gambia district. The GWCL then mounted a nitrate sensor to read the concentration of nitrate in this basin at one hour interval for 24 hours. The readings are fed into a C program through a keyboard. Write a C program that implements a void type function, that accepts no parameter, to perform the following tasks: Declare an array Nitrate of 24 components of type double to store the readings from the nitrate sensor,initialize the array with input from the keyboard so that all 24 components are filled ,output the array so that an element per line is printed and if an element in the array is greater or equal to 10.99 mg/L, then display that element with its array index on the screen.
Kindly Note. This is a full question. Thanks expert .Remain blessed
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 4 images