For a drology problem you are given the following equation: ng End Capacity,Capa
ID: 1920564 • Letter: F
Question
For a drology problem you are given the following equation: ng End Capacity,Capacity,IFWorkingEnd 0,WorkingEnd,0) stern Capacity inflow Water flowing into the cistern in one day Outflow Water used by the facility during one day PreviousQuantity m Amount in the cistern at the end of the previous day Working End PreviousQuantity+inflow-outflow In this equation the role of the second lF statement is: a To check that the calculation of the cistern capacity was performed correctly. b.To address what happens if the amount of water in the cistern would be less than the cistern capacity-and to force the city to supply the difference. c.To address what happens if the amount of the water in the cistern at the end of the day would be greater than the cistern capacity. d.To address what happens if the amount of water in the cistern would be less than the cistern capacity by checking if the cistern is empty and acting accordingly. e.To address what happens if the amount of water in the cistern would be less than the cistern capacity by checking ifthe cistern will have some water in it and acting accordingly.Explanation / Answer
the answer is option E
because the second IF statement checks whether the cistern has any water after the first if statement checks whether the cistern is full or not.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.