Program description: This program vill calculate the vind chill in degrees Fahre
ID: 667993 • Letter: P
Question
Program description: This program vill calculate the vind chill in degrees Fahrenheit and the time it takes to get frostbit in minutes. The results are printed to the computer screen. Description of variables Name Description Temperature1 doubie Temperature dble Air temperature in degrees Fahrenheit Wind SpeeddoubleWind speed in mph WindChill doubleWind chill in degrees Fahrenheit Frostbite double Frostbite time in minutes doubleind /Preprocessor directives #include #include #include / Main function /Explanation / Answer
the problem is with the expression mentioned inside the pow function for frostbite variable.
take a temp variable and assign the value to temp and then pass it to variable
double temp;
temp = -4.8-(Temperature - 32) * 5/9;
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.