The greenhouse controller needs to know what to do at agiven temperature. Too cold, fine, or too hot, and whataction to take. One reading in, one instruction out.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
string; do not print it inside the method. The main program prints what comes back.int or a double is your decision too; say which, and why.Only one-star challenges have this section. If you already know how to begin, skip it — and when you move up to two stars, working out the order yourself is part of the job.
string return type.returns, the way Activity 2.3's Status did: check one end of the range first and work across.12 -> Turn heaters on21 -> No action34 -> Open ventsThese three readings sit well inside each band, so any sensible boundaries give these lines. Test both of your boundaries exactly; each should give one answer.
Your requirements list and your program file, named cc-temperature-band.