Answered step by step
Verified Expert Solution
Question
1 Approved Answer
answer question 7 in c program 6. Write a program to read a number and print the pH value and example element based on the
answer question 7 in c program
6. Write a program to read a number and print the pH value and example element based on the following pH scale: PH Category Environmental Effects Example Element Value 0 Battery acid 1 Sulfuric acid 2 Lemon juice, vinegar 3 Orange juice, soda 4 Acidic All fish die Acidic rain, acidic lake 5 Frog eggs, tadpoles, Bananas, Clean rain crayfish and mayflies die Rainbow trout begin to Healthy lake, milk die 7 Neutral Pure water Sea water, eggs Baking soda 10 Milk of Magnesia 11 Basic Ammonia 12 Soapy water 13 Bleach 14 Liquid drain cleaner 6 8 9 -BS-Jan2021 2 CSER2113 Programming 1/ CENB1.44 Programming i with a = Apply proper data validation in this program. 7. Modify the program written for Question (6) to print the category, and environmental effects on the screen too. Avoid from repeating the printing statement more than once Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started