Question: Instructions :CREATE C PROGRAM. Investigate selective statements: if, if-else, if-else - if (nesting), switch. Look at the list of problems and solve. Select problem: Selective

Instructions :CREATE C PROGRAM. Investigate selective statements: if, if-else, if-else - if (nesting), switch. Look at the list of problems and solve. Select problem: Selective structures." Create the flow chart with the solution of each problem. Create the source code. Make the presentation of the diagram and source code of each solution, explaining the problem, how it was reached solution algorithm and how the source code instructions work. Add screenshot of execution. 5.The water in a swimming pool should be kept at a neutral pH level. A common test for pool water pH is to put in a few drops of a solution in a small sample of pool water and observe its color. If purplish, this indicates a high pH (alkalinity). Alternatively, an overly orange shade will idicate low pH(acidity). If the shade is reddish/mildy organge, thisidicates a neutral pH. Write a program that indicates the pH of the water if the color of the sample is entered as p for purple, o for orange or r for reddish. a. Use a multiple selection structure b. Use a switch structure.

Please show more than one way of coding it with C program and more than one flow chart, please explain fully. I appreaciate it.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!