Answered step by step
Verified Expert Solution
Link Copied!

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
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

=+j Describe the various support services delivered by IHR.

Answered: 1 week ago

Question

=+j Explain IHRMs role in global HR research.

Answered: 1 week ago