Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You decide you want to take a ten day hiking trip. There are numerous trails and

ID: 3621945 • Letter: Y

Question

You decide you want to take a ten day hiking trip. There are numerous trails and camping areas at the national park you will be staying at. Between each of the camping areas you have calculated alternative trails which you can hike, one considerably longer than the other. You decide you will take the longer trail on each day that it is not raining and the temperature stays below 85, otherwise you will take the shorter trail. Write a program that calculates how far you traveled in the ten days. Use READ/DATA to list the short distance and long distance for each day. Have the program ask the user what the high temperature for that day was and what the weather conditions were("rainy","cloudy" or "sunny".) PRINT the total distance hiked in the ten days along with the average high temperature.

THANK YOU SOO MUCH

Explanation / Answer

Dear, Question not clear regarding the language you are looking for Give you code in c++ still any updation come up void main() { double temp,sum=0,avg,distance,tot_dis=0; string weather; int day; for(day=1;day
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote