Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Logics For Databases And Information Systems

Authors: Jan Chomicki ,Gunter Saake

1st Edition

1461375827, 978-1461375821

More Books

Students also viewed these Databases questions

Question

Prove Theorem11.5.

Answered: 1 week ago

Question

What are two methods used to measure speech privacy in open offices

Answered: 1 week ago

Question

Persuasive Speaking Organizing Patterns in Persuasive Speaking?

Answered: 1 week ago