Question: Given this temperature range, how do I write c code for this in a direct way meaning no logical operators(if,switch, ternary operators are not allowed).

Given this temperature range, how do I write c code for this in a direct way meaning no logical operators(if,switch, ternary operators are not allowed). Should be only 1-3 lines.
Temperature Range Below 10 F 10-19 F 20-29 F 30-39 F 40-49 F 50-59 F 60-69 F Above 70 F Dl's color Off Red Green Yellow Blue Purple Cyan White
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
