Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is C++ , please help. thanks. You will write a code that uses arrays to calculate the Wind Chill Factor (WCF) for a list
This is C++ , please help. thanks.
You will write a code that uses arrays to calculate the Wind Chill Factor (WCF) for a list of days during winter time in Chicago. WCF can be calculated using the following formula: WCF 35.7 +0.6T - 35.7(V016)+0.43T(V016) where T is temperature and V and wind speed. PartI- If you complete this part correctly, you will receive 75/100 on this lab. It should take you no more than 20 minutes to do this. Don't forget to reference the lecture slides. Here is some data: Day Wind Speed (mph Temperature (F 12.1 9.9 5.7 8.1 8.4 6.7 3.2 3.7 3.1 0.8 19.2 22.9 17.8 30.6 41.0 30.1 31.1 28.9 37.5 38.3 13 15 17 19 1. Declare and fill wind speed and temperature arrays: Declare two arrays to store the data above for wind speed and temperature. Each array will have 10 elements. To fill, simply hard-code each element based on the table above. This means you will declare the arrayStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started