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

Create a single NOTEPAD or PDF file that restates the problem in your own words,

ID: 3883537 • Letter: C

Question

Create a single NOTEPAD or PDF file that restates the problem in your own words, specifies what input is needed from whomever is using the process, what output is expected, the step by step process (algorithm) to get the output from the input, and test data (input for which you know the expected output for each of the 3 problems given below. (Include all this information in one file) You should not write any code.

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.

Explanation / Answer

Calculation:

step1 : begin

step2 : Declare and instate the factors radius,length,width,base,height,area with default esteems.

step3 : Define pi equivalents to 3.14159

step4 : Display the beneath alternatives and provoke to pick a choice.

1. Ascertain the Area of a Circle

2. Ascertain teh Area of a Rectangle

3. Ascertain the Area of a Triangle

4. Stop

Enter your choice(1-4)...

step5 : check whether decision = 1 at that point go to step6 else go to step10

step6 : Read range

step7 : process territory = pi*r*r

step8 : print territory

step9 : break

step10: check whether decision = 2 at that point go to step10 else go to step15

step11: Read length and width

step12: process zone = length * width

step13: print territory

step14: break

step15: check whether decision = 3 at that point go to step16 else go to step20

step16: read base and tallness

step17: register territory = base*height*0.5

step18: print region

step19: break

step20: check whether decision = 4 at that point go to step21 else go to step22

step21: exit from the program and go to step25

step22: print "invalid decision"

step23: break

step24: go to step4

step25: Stop

Testing: Displays the 4 alternatives and select one choice then the conduct of every choice depicted bleow.

Choice 1 : on the off chance that we select the alternative 1 and prepared to give the estimation of sweep as 5 then the accompanying strides will be executed.

step5 : check whether decision = 1 at that point go to step6 else go to step10

step6: Read sweep ( given the span as 5)

step7: register range = pi*r*r ( region = 3.14159*5)

step8: print region (prints the range an incentive as 15.70795)

step9: break (parts from the circle and go to step24)

step24: go to step4 ( this will show the alternatives indeed)

Choice 2 : on the off chance that we select the choice 2 and prepared to give the qualities for length as 5 and width as 3 then the accompanying strides will be executed.

step5 : check whether decision = 1 at that point go to step6 else go to step10

step10: check whether decision = 2 at that point go to step10 else go to step15

step11: Read length and width (given the qualities for length as 5 and width as 3 )

step12: process region = length * width ( range = 5 * 3 )

step13: print zone (print the region esteem as 15)

step14: break (parts from the circle and go to step24)

step24: go to step4 ( this will show the choices by and by)

Choice 3 : on the off chance that we select the choice 3 and prepared to give the qualities for base as 15 and stature as 3 then the accompanying strides will be executed.

step5 : check whether decision = 1 at that point go to step6 else go to step10

step10: check whether decision = 2 at that point go to step10 else go to step15

step15: check whether decision = 3 at that point go to step16 else go to step20

step16: read base and stature (give the qualities for base as 15 and tallness as 3 )

step17: process range = base*height*0.5 (are = 15 * 3 * 0.5)

step18: print zone (print the are an incentive as 22.5)

step19: break (parts from the circle and go to step24)

step24: go to step4 ( this will show the choices indeed)

Choice 4 : on the off chance that we select choice 4 then the accompanying strides will be executed.

step5 : check whether decision = 1 at that point go to step6 else go to step10 step10: check whether decision = 2 at that point go to step10 else go to step15

step15: check whether decision = 3 at that point go to step16 else go to step20

step20: check whether decision = 4 at that point go to step21 else go to step22

step21: exit from the program and go to step25

step25: Stop

invalid alternative : on the off chance that we enter any choice other than 1,2,3,4 then the accompanying strides will be executed.

step5 : check whether decision = 1 at that point go to step6 else go to step10

step10: check whether decision = 2 at that point go to step10 else go to step15

step15: check whether decision = 3 at that point go to step16 else go to step20

step20: check whether decision = 4 at that point go to step21 else go to step22

step22: print "invalid decision"

step23: break (parts from the circle and go to step24)

step24: go to step4 ( this will show the alternatives by and by)

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