I fly the drone for the school's video team and I keephaving to look the rules up. It is fine to go up if the windis under twenty and the battery is over thirty percent. Butnot in the rain, ever, whatever the other two say. Tell meyes or no, and if it is no, tell me which rule stopped me.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
!. You could compare the boolean to false instead and it would work — Activity 1.12 says why ! reads better.bool.Parse.Wind speed (mph): 25 [Enter]Battery (percent): 75 [Enter]Is it raining? (true/false) false [Enter]
GROUNDED -- wind is 25 mph, limit is 20.Test until every message you wrote has appeared at least once — that is the same per-branch check Activity 1.13 gave you for the rainfall chain. A message you never saw is a message you never tested.
Your requirements list and your program file, named cc-drone-check.