The pH of a solution is a measure of its acidity

QUESTION

2. The pH of a solution is a measure of its acidity. The table on the next page shows pH values and their meaning. The partial pseudocode below the table designs a program that displays the acidity level that corresponds to a solution’s pH entered by the user. The decision structure part of the program is missing. It should display the correct solution from the right column of the table. Fill in the missing decision structure (5 points)[Hint: See pages 157-163 in the textbook]pH RangeSolutionpH < 3Very acidic3 <= pH < 7 (pH is >= to 3 and < 7)AcidicpH = 7Neutral7 < pH < 12 (pH is > 7 and < 12)AlkalinepH >= 12Very alkalinestart declarations num pH string PROMPT = “Enter pH: “ string VERY_ACIDIC = “The solution is very acidic” string ACIDIC = “The solution is acidic” string NEUTRAL = “The solution is neutral” string ALKALINE = “The solution is alkaline” string VERY_ALKALINE = “The solution is very alkaline” output PROMPT input pH // missing decision structurestop

 

ANSWER:

REQUEST HELP FROM A TUTOR

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00