Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ever heard of acid rain? This is rainfall with a very low pH. Write an application that will enable you to display the pH level

Ever heard of acid rain? This is rainfall with a very low pH. 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 give on a 0-14 scale. Below 7.0 is defined as acidic, with 7 being natural. 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.2-7.8. Allow the user to input the pH level number. Display a message indicating the health(i.e., acidic, neutral, 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 as neutral 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

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

Step: 3

blur-text-image

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

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions