Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

More Books

Students also viewed these Databases questions