I run the nurse's office and I need a quick screening tool.Type in a student's temperature and tell the front deskwhether they're cleared for class or need to go home. Ourschool's policy is simple: 100.4 or higher means home.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
if with one else. It does not need a chain.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.
double.Parse.if for the fever case first, using the comparison the brief tells you.else for everything else.Temperature? 101.2
Send home. 100.4 or higher is a fever by school policy.Verified in a real run. A temperature of 99.1 should print “Cleared for class.” instead — and 100.4 exactly should still say send home, since the brief includes the boundary.
Your requirements list and your program file, named cc-fever-check.