Question: Question: In C# Language.. Write an application that will enable you to display the pH level for a swimming pool and whether an additive is
Question: In C# Language.. Write an application that will enable you to display the pH level for a swimming pool and whether an additive is needed or not. The pH is a measure of how acidic or basic the water is and is typically given on a 014 scale. Below 7.0 is defined as acidic, with 7 being neutral. Levels much above 7 are said to be basic or alkaline. Everything that enters a pool has a pH value. To have pH in balance the water is adjusted with additions of pH increasers (bases) or pH decreasers (acids) to achieve the range of 7.27.8. Allow the user to input the pH level number. Display a mes- sage indicating the health (i.e., acidic, neutral, or alkaline) and whether an additive is required. If an additive is required, identify the type. The water should be described as acidic, requiring bases, when the pH is lower than 7. Consider the pH level as neutral for pH levels in the range 77.8 and alkaline, requiring acid for pH levels greater than 7.8. Display an appropriate message when invalid values are entered.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
