Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need a written algorithm for the 2 problems. Not code written, word written st

ID: 3883990 • Letter: I

Question

I need a written algorithm for the 2 problems. Not code written, word written step by steo

The owners of a mall need to know when a parking lot will flood based on the rate rainfall. This lot is has one sewer drain. Develop a process that will take the ask the user the size of the lot in square feet, the rain fall in inches per hour, the flow rate of the sewer in feet per second, and the cross section of the sewer pipe in square feet. When the amount of water accumulating by the rain is greater than the amount that can be removed by the drain output a message that the lot should be evacuated, otherwise output a message that the cars are safe. Write a process to allow user to convert from English units to metric units. The user should be prompted to choose what type of conversion he/she would like to convert: inches to centimeters, quarts to liters, pounds to kilograms, miles to kilometers, or ounces to grams The user should be able to choose the conversion by entering a number or a letter. Then the user should be asked to enter the value to be converted. When the user enters a value less than zero for the original measurement, tell him/her that the input is invalid as ask user to enter the value again. Assume the user will not enter an incorrect value more than once.

Explanation / Answer

Algorithm:
Alogrithm is a step by step procedure to slove
a problem.
program 2:
step1:
Generate a parking lot with flood based on rainfall
step2:
Generate a parking lot has one sewer drain
step 3:
first fix the size of the lot in square feet
step4;
CALCULATE the rain falls in inches per hour and
the cross section of sewer pipe in square feet.
step 5;
IF the amount of water accumulating by the rain is greater
than the amount of water removed by drain that the output is
parking lot should be evacuated.
step 6;
IF the amount of water accumulating by the rain is lesser
than the output message we got is cars are safe.

problem 3:

Step 1:
convert the english metric to metric units

step 2;
select the conversion from inche to centimeter,quarts to lit,
suppose consider inches to centimeters.

step 3:
Enter the number or letter for conversion from inch to
centimeter

step 4:
if we enter the value less than zero it will displays invalid.
and it shows enter the value again.

step 5:
If again the person will enter the zero it shows incorrect value
and it displays invalid shows enter the value again.

step 6:
If it enter correctly the conversion will takes place.

step 7:

Stop the program.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote