Does anyone know how to write a function for the heat index in a weather app? This gentleman implemented it it in C++:https://stackoverflow.com/questions/17328034/c-program-to-calculate-heat-index-not-providing-expected-results
I’m a total newbie to coding and given up trying to understand the guys code above. There is a heat index chart available here:http://www.petprofessionalguild.com/Resources/Documents/Heat%20Index%20Chart.pdf and making a function with many “cases” using the humidity and temperature is starting to look like my solution. I feel like there’s a better way to do this, just need a little assistance from y’all. Thanks in advance.