You have noticed that there is water wastage in all the large parks in Bengaluru. Design a smart sprinkler system to solve this issue. The sprinkler should be turned on or off based on these conditions: - If the temperature today is over 36℃ and it has not rained today. - If the temperature is between 33℃ and 36℃ degrees (both inclusive limits) and it has not rained yesterday and today. - If the temperature is between 30℃ and 33℃ ( from 30℃ to less than 33℃) and it has not rained at all, starting from the day before yesterday. -For all other temperature and rain conditions, display the message that the gardener has to manually set the sprinkler function. Take user input for today's temperature, days since it last rained. Based on the user's inputs, your program for the smart sprinkler should output whether or not the smart sprinkler should water the garden today.
Answers
Answered by
0
Answer:
omg I don't know the answer because the question is too lengthy to do
sorry for this
Similar questions