Write an if/else statement that compares the double variable pH with 7.0 and makes the following assignments to the bool variables neutral, base, and acid: a. false, false, true if pH is less than 7 b. false, true, false if pH is greater than 7 c.
Answers (1)