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:
Place an order in 3 easy steps. Takes less than 5 mins.